Every platformer be like | A Platformer #games
@Stage\n\n@Sprite1\n\nwhen flag clicked\ngo to [front v] layer\ngo to x: (-213) y: (7)\nhide variable [y v]\nhide variable [x v]\nset [y v] to [0]\nset [x v] to [0]\nforever\n    change [y v] by (-1)\n    if <<key (left arrow v) pressed?> and <not <(x position) < [-224]>>> then\n        change [x v] by (-1)\n    end\n    if <key (right arrow v) pressed?> then\n        change [x v] by (1)\n    end\n    if <(x position) < [-224]> then\n        change [x v] by (1.1)\n    end\n    set [x v] to ((x) * (0.9))\n    change x by (x)\n    if <touching (sprite2 v)?> then\n        change y by (1)\n    end\n    if <touching (sprite2 v)?> then\n        change y by (1)\n    end\n    if <touching (sprite2 v)?> then\n        change y by (1)\n    end\n    if <touching (sprite2 v)?> then\n        change y by (1)\n    end\n    if <touching (sprite2 v)?> then\n        change y by (-4)\n        change x by ((x) * (-1))\n        if <key (up arrow v) pressed?> then\n            set [y v] to [17]\n            if <(x) > [0]> then\n                set [x v] to [-10]\n            else\n                set [x v] to [10]\n            end\n        else\n            set [x v] to [0]\n        end\n    end\n    go to [front v] layer\n    change y by (y)\n    if <touching (sprite2 v)?> then\n        change y by ((y) - ((y) * (2)))\n        set [y v] to [0]\n    end\n    change y by (-1)\n    if <<key (up arrow v) pressed?> and <touching (sprite2 v)?>> then\n        set [y v] to [15]\n    end\n    change y by (1)\n    if <touching (sprite3 v)?> then\n        go to x: (-213) y: (7)\n    end\n    if <(x position) > [218]> then\n        go to x: (-213) y: (7)\n        broadcast (change level v)\n    end\nend\n\n@Sprite2\n\nwhen I receive [change level v]\nnext costume\n\nwhen flag clicked\nswitch costume to (costume1 v)\n\n@Sprite3\n\nwhen flag clicked\nswitch costume to (costume1 v)\n\nwhen I receive [change level v]\nnext costume\n\n@Sprite4\n\nwhen I receive [change level v]\nnext costume\n\nwhen flag clicked\nswitch costume to (costume1 v)\n\n@Sprite5\n\nwhen flag clicked\ngo to [front v] layer\nset [ghost v] effect to (100)\n\n
ALL BY ME\narrow keys\nthis is meant to be a joke\ncheck out the prequel https://scratch.mit.edu/projects/847144544