Colourless - A Platformer
@Stage\n\n@Level\n\nwhen flag clicked\nswitch costume to (costume1 v)\nshow\n\nwhen I receive [next level v]\nnext costume\n\nwhen I receive [costume 10 v]\nswitch costume to (costume10 v)\n\n@Player\n\nwhen I receive [next level v]\nreset\nReset player variables\n\nwhen flag clicked\nshow\nforever\n    if <(x position) = [254]> then\n        broadcast (NEXT LEVEL v)\n        change [level v] by (1)\n    end\nend\n\nwhen flag clicked\nforever\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        switch costume to (over right v)\n    end\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        switch costume to (over left v)\n    end\nend\n\nwhen flag clicked\nshow\nswitch costume to (center v)\nforever\n    go to [front v] layer\nend\n\nwhen flag clicked\nswitch costume to (center v)\n\nwhen flag clicked\nforever\n    if <<not <key (up arrow v) pressed?>> and <<not <key (right arrow v) pressed?>> and <not >>> then\n        switch costume to (center v)\n    end\nend\n\nwhen [r v] key pressed\nswitch costume to (center v)\ngo to x: (-200) y: (0)\n\ndefine reset\nclear graphic effects\nset size to (85) %\nshow\ngo to x: (-200) y: (0)\npoint in direction (90)\nReset player variables\n\nwhen flag clicked\nshow\nset [level v] to [1]\nset size to (85) %\nReset player variables\nreset\nforever\n    if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(mouse x) > (x position)>>> then\n        change [x v v] by (.9)\n    end\n    if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(mouse x) < (x position)>>> then\n        change [x v v] by (-.9)\n    end\n    set [x v v] to ((X v) * (0.9))\n    change x by (X v)\n    if <<touching (level v)?> or <touching (moving platfom v)?>> then\n        change y by (1)\n        if <<touching (level v)?> or <touching (moving platfom v)?>> then\n            change y by (1)\n            if <<touching (level v)?> or <touching (moving platfom v)?>> then\n                change y by (1)\n                if <<touching (level v)?> or <touching (moving platfom v)?>> then\n                    change y by (1)\n                    if <<touching (level v)?> or <touching (moving platfom v)?>> then\n                        change y by (1)\n                        if <<touching (level v)?> or <touching (moving platfom v)?>> then\n                            change x by ((X v) * (-1))\n                            change y by (-5)\n                            if <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<mouse down?> and <(mouse y) > ((y position) + (20))>>>> then\n                                if <(X v) > [0]> then\n                                    set [x v v] to [-5]\n                                else\n                                    set [x v v] to [5]\n                                end\n                                set [y v v] to [15]\n                            else\n                                set [x v v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [y v v] by (-1)\n    change y by (Y v)\n    if <<touching (level v)?> or <touching (moving platfom v)?>> then\n        change y by ((Y v) * (-1))\n        set [y v v] to [0]\n    end\n    change y by (-1)\n    if <<touching (level v)?> or <touching (moving platfom v)?>> then\n        if <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<mouse down?> and <(mouse y) > ((y position) + (20))>>>> then\n            set [y v v] to [12]\n        end\n    end\n    change y by (1)\n    if <touching (spikes v)?> then\n        reset\n    end\n    if <touching (killer wheel v)?> then\n        reset\n    end\n    if <touching (lava v)?> then\n        reset\n    end\n    if <touching (milk-01 v)?> then\n        reset\n    end\n    if <touching (milk-02 v)?> then\n        reset\n    end\n    if <touching (lava v)?> then\n        reset\n    end\n    if <touching (milk-03 v)?> then\n        reset\n    end\n    if <touching (lava-02 v)?> then\n        reset\n    end\n    if <touching (killer wheel2 v)?> then\n        reset\n    end\n    if <touching (jump pad v)?> then\n        set [y v v] to [15]\n    end\nend\n\n@Spikes\n\nwhen I receive [next level v]\nnext costume\n\nwhen flag clicked\nshow\nswitch costume to (costume1 v)\n\n@lava\n\nwhen flag clicked\ngo to [back v] layer\nshow\nswitch costume to (costume1 v)\n\nwhen I receive [next level v]\ngo to [back v] layer\nnext costume\n\n@Killer Wheel\n\nwhen flag clicked\nforever\n    go to [back v] layer\n    turn left (5) degrees\nend\n\nwhen I receive [next level v]\ngo to [back v] layer\nnext costume\n\nwhen flag clicked\ngo to [back v] layer\nshow\nswitch costume to (costume1 v)\n\n@Killer Wheel2\n\nwhen flag clicked\nforever\n    go to [back v] layer\n    turn left (5) degrees\nend\n\nwhen I receive [next level v]\ngo to [back v] layer\nnext costume\n\nwhen flag clicked\ngo to [back v] layer\nshow\nswitch costume to (costume1 v)\n\n@Jump Pad\n\nwhen flag clicked\ngo to [front v] layer\nshow\nswitch costume to (costume1 v)\n\nwhen I receive [next level v]\ngo to [back v] layer\nnext costume\n\n@Sprite1\n\nwhen flag clicked\nshow\nswitch costume to (costume1 v)\n\nwhen I receive [next level v]\nnext costume\n\n@Sprite3\n\nwhen flag clicked\nhide\ngo to [front v] layer\n\n
                  - Colourless A Platformer - \n    → Use Arrow Keys Or WASD to move\n    → Avoid Spikes, Boiling Lava, and Killer wheels\n    → Jump on trampolines to jump higher\n    → Everything is colorless!\n    → You can jump on platforms, they’re safe.\n    → What's behind the door? Let's Find out!