platformer
@Stage\n\nwhen flag clicked\nswitch backdrop to (tło2 v)\n\n@player\n\nwhen flag clicked\nhide\nset size to (20) %\nshow\nset [yvelocity v] to [0]\nset [spawn x v] to [0]\nset [spawn x v] to [-223]\nset [spawny v] to [-76]\ngo to x: (spawn X) y: (spawnY)\nforever\n    Up/Down Movement [16] [-1]\n    Right/Left Movement [10] [0.6]\nend\n\ndefine Up/Down Movement (jump height) (fall speed)\nchange y by (yVelocity)\nif <touching (level v)?> then\n    repeat ([ceiling v] of ([abs v] of (yVelocity) ) )\n        if <touching (level v)?> then\n            change y by (((yVelocity) / ([abs v] of (yVelocity) )) * (-1))\n        end\n    end\n    if <<not <(yVelocity) > [0]>> and <key (up arrow v) pressed?>> then\n        set [yvelocity v] to (jump height)\n        switch costume to (hight v)\n        create clone of (ogon v)\n    else\n        set [yvelocity v] to [0]\n        create clone of (ogon v)\n    end\nelse\n    change [yvelocity v] by (fall speed)\nend\n\nwhen flag clicked\nforever\n    if <(x position) > [231]> then\n        broadcast (next level v)\n        go to x: (-218) y: (-76)\n    end\nend\n\nwhen flag clicked\nswitch backdrop to (tło3 v)\nforever\n    if <touching (duszek1 v)?> then\n        go to x: (-198) y: (-71)\n    end\nend\n\nwhen flag clicked\nswitch costume to (left v)\n\nwhen flag clicked\nforever\n    if <(y position) < [-180]> then\n        go to x: (-223) y: (-76)\n    end\nend\n\nwhen backdrop switches to [tło4 v]\ngo to x: (-223) y: (-76)\n\nwhen backdrop switches to [tło3 v]\ngo to x: (-223) y: (-76)\n\nwhen backdrop switches to [tło2 v]\ngo to x: (-223) y: (-76)\n\nwhen backdrop switches to [tło2 v]\ngo to x: (-223) y: (-76)\n\nwhen flag clicked\nswitch backdrop to (tło3 v)\nforever\n    if <touching (duszek2 v)?> then\n        go to x: (-198) y: (-71)\n    end\nend\n\nwhen flag clicked\nswitch backdrop to (tło3 v)\nforever\n    if <touching (duszek3 v)?> then\n        go to x: (-198) y: (-71)\n    end\nend\n\ndefine Right/Left Movement (move speed) (drag)\nchange x by (xVelocity)\nif <touching (level v)?> then\n    repeat ([ceiling v] of ([abs v] of (xVelocity) ) )\n        if <touching (level v)?> then\n            set x to (((xVelocity) / ([abs v] of (xVelocity) )) * (1))\n        end\n    end\n    set [xvelocity v] to [0]\nend\nif <key (right arrow v) pressed?> then\n    switch costume to (left v)\n    set [xvelocity v] to (move speed)\n    create clone of (ogon v)\nelse\n    if <key (left arrow v) pressed?> then\n        switch costume to (right v)\n        set [xvelocity v] to ((move speed) * (-1))\n        create clone of (ogon v)\n    end\nend\nset [xvelocity v] to ((xVelocity) * (drag))\n\nwhen backdrop switches to [tło7 v]\ngo to x: (-223) y: (-76)\n\nwhen backdrop switches to [tło8 v]\ngo to x: (-223) y: (-76)\n\nwhen flag clicked\nbroadcast (start v)\n\nwhen flag clicked\nforever\n    wait (1) seconds\nend\n\n@level\n\nwhen flag clicked\ngo to x: (0) y: (0)\nswitch costume to (kostium6 v)\nshow\n\nwhen I receive [next level v]\nnext costume\nnext backdrop\n\n@Duszek1\n\nwhen flag clicked\ngo to x: (28) y: (-36)\nhide\n\nshow\n\nwhen backdrop switches to [tło4 v]\nhide\n\nwhen backdrop switches to [tło6 v]\nhide\n\nwhen backdrop switches to [tło4 v]\nshow\n\ngo to x: (28) y: (-35)\n\nwhen backdrop switches to [tło5 v]\nhide\n\n@ogon\n\nwhen I start as a clone\ngo to (player v)\nshow\ngo to [back v] layer\nset [ghost v] effect to (0)\nset size to (12) %\nrepeat (20)\n    change [brightness v] effect by (1)\n    change [ghost v] effect by (15)\nend\ndelete this clone\n\nwhen flag clicked\nhide\n\nchange size by (-1.5)\n\n@Duszek2\n\nwhen flag clicked\nhide\npoint in direction (90)\n\nwhen backdrop switches to [tło5 v]\nshow\nswitch costume to (kostium2 v)\n\ngo to x: (28) y: (-35)\n\nwhen backdrop switches to [tło6 v]\nhide\nswitch costume to (kostium2 v)\n\nshow\n\ngo to x: (-6) y: (-19)\n\n@Duszek3\n\nwhen flag clicked\ngo to x: (-60) y: (-75)\nhide\npoint in direction (90)\n\ngo to x: (-6) y: (-19)\n\nwhen backdrop switches to [tło6 v]\nshow\nswitch costume to (zęby v)\nforever\n    turn right (10) degrees\nend\n\nwhen backdrop switches to [tło8 v]\nhide\n\n@Sprite1\n\nwhen backdrop switches to [tło8 v]\nshow\nchange [ghost v] effect by (40)\n\nwhen flag clicked\nhide\n\n@Sprite2\n\nwhen backdrop switches to [tło8 v]\nshow\nforever\n    repeat (20)\n        change size by (2)\n    end\n    repeat (20)\n        change size by (-2)\n    end\nend\n\nwhen flag clicked\nset size to (100) %\nhide\npoint in direction (90)\n\nturn right (1) degrees\n\nturn left (1) degrees\n\n@Sprite3\n\nchange size by (100)\n\nwhen backdrop switches to [tło2 v]\n\nwhen backdrop switches to [tło3 v]\nhide\n\nwhen I receive [tło v]\nshow\nswitch costume to (costume1 v)\nrepeat (3)\n    next costume\n    wait (0.50) seconds\nend\n\n@tło\n\nwhen flag clicked\nshow\n\nwhen I receive [start 2 v]\nhide\n\n@Zrzut ekranu 2024-03-01 070842\n\nwhen I receive [start 2 v]\nshow\nwait (0.1) seconds\nforever\n    change [ghost v] effect by (1)\nend\n\nwhen flag clicked\nhide\n\n@Zrzut ekranu 2024-03-01 072046\n\nwhen I receive [next level v]\nshow\n\nwhen this sprite clicked\nhide\n\nwhen I receive [start 2 v]\nshow\n\nwhen flag clicked\nhide\n\n@Zrzut ekranu 2024-03-01 073752\n\nwhen flag clicked\nhide\nwait (1) seconds\nshow\n\nwhen this sprite clicked\nbroadcast (start 2 v)\n\nwhen backdrop switches to [tło2 v]\n\nwhen I receive [start 2 v]\nhide\n\nwhen flag clicked\nforever\n    change size by (1)\n    wait (0.5) seconds\n    change size by (-1)\n    wait (0.5) seconds\nend\n\n
(❁´◡`❁(✿◡‿◡)use arows and left arow is broken This platformer are easy and enoyable Good Game (❁´◡`❁)(✿◡‿◡)\nMy alt @Alt_RolsikMopsikI╰(*°▽°*)╯(^///^)\n