Moon (a platformer)
@Stage\n\nwhen flag clicked\nforever\n    play sound [vexento-masked-heroes-1-AHM56EBq6 \(1\) v] until done\nend\n\nwhen flag clicked\nswitch backdrop to (backdrop2 v)\n\nwhen I receive [start v]\nswitch backdrop to (space v)\n\n@Sprite1\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nhide\nwait (1.5) seconds\ngo to x: (-200) y: (-70)\nshow\nset [x v] to [0]\nset [y v] to [0]\nforever\n    change [y v] by (-1)\n    if <key (left arrow v) pressed?> 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    set [x v] to ((x) * (0.9))\n    change x by (x)\n    if <touching color (#626262)?> then\n        change y by (1)\n    end\n    if <touching color (#636363)?> then\n        change y by (1)\n    end\n    if <touching color (#636363)?> then\n        change y by (1)\n    end\n    if <touching color (#636363)?> then\n        change y by (1)\n    end\n    if <touching color (#636363)?> 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 [15]\n            if <([abs v] of (x) ) = (x)> 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    change y by (y)\n    if <touching color (#636363)?> 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 color (#636363)?>> then\n        set [y v] to [15]\n    end\n    change y by (1)\n    if <touching color (#ff6666)?> then\n        go to x: (-200) y: (-70)\n    end\n    if <<(x position) = [351]> or <(x position) > [340]>> then\n        broadcast (next level v)\n        go to x: (-139) y: (-96)\n    end\n    if <touching color (#f276c8)?> then\n        set [y v] to [20]\n    end\n    if <touching color (#636363)?> then\n        if <key (up arrow v) pressed?> then\n            set [y v] to [10]\n        else\n            set [y v] to [-1]\n        end\n        if <key (down arrow v) pressed?> then\n            set [y v] to [-5]\n        end\n    end\nend\n\nwhen flag clicked\n\nwhen flag clicked\nforever\n    if <touching color (#ff6666)?> then\n    end\nend\n\n@Sprite4\n\nwhen I receive [next level v]\nnext costume\nwait (1) seconds\n\nwhen flag clicked\nswitch costume to (costume4 v)\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nshow\n\nwhen this sprite clicked\nbroadcast (next level v)\nbroadcast (start v)\n\n@Sprite2\n\nwhen flag clicked\nshow\n\nwhen this sprite clicked\nbroadcast (start v)\nhide\n\n
hello everyone, and welcome to Moon! this is a platformer that i made all by myself and this took forever, so i hope you like it! \n-----------------------------How to play-----------------------------------\n- use the arrow keys to move\n- dont touch the red!\n- press the 'skip' button to go to the next level if it is too hard\n-full screen NOT recommended!\n- have fun!