Red (A Platformer)
@Stage\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\nwait (1) seconds\nrepeat (50)\n    change [ghost v] effect by (2)\nend\nswitch backdrop to (backdrop2 v)\nclear graphic effects\n\nwhen I receive [message1 v]\nswitch backdrop to (backdrop3 v)\n\nwhen I receive [messege3 v]\nwait (2) seconds\nswitch backdrop to (backdrop2 v)\n\nwhen I receive [messege4 v]\nswitch backdrop to (backdrop4 v)\n\n@Sprite1\n\nwhen flag clicked\nswitch costume to (costume1 v)\ngo to x: (0) y: (0)\nshow\nwait (1) seconds\nrepeat (50)\n    change [ghost v] effect by (2)\nend\nclear graphic effects\nswitch costume to (costume2 v)\nwait (5) seconds\nswitch costume to (costume3 v)\nset language to (en v)::tts\nset voice to (tenor v)::tts\nspeak [Once, there was color. Now there isn't. You have to go on a mission to get them back. Good luck!]::tts\nbroadcast (message1 v)\nhide\n\nwhen I receive [messege3 v]\nwait (2) seconds\nswitch costume to (costume4 v)\nshow\nset language to (en v)::tts\nset voice to (tenor v)::tts\nspeak [Splendid job out there! You really did well. Next, you will go on a mission to get orange back.]::tts\nspeak [Until then, get some nice, good rest. Farewell.]::tts\nwait (3) seconds\nrepeat (50)\n    change [ghost v] effect by (2)\nend\nhide\nbroadcast (messege4 v)\nstop [other scripts in sprite v]\nstop [this script v]\n\n@Sprite2\n\nwhen flag clicked\nhide variable [level v]\nhide\n\nwhen I receive [message1 v]\nswitch costume to (costume1 v)\ngo to x: (0) y: (0)\nshow\nforever\n    set [level v] to (costume [number v])\nend\n\nwhen I receive [message2 v]\nnext costume\n\nwhen I receive [messege3 v]\nrepeat (50)\n    change [ghost v] effect by (2)\nend\nstop [other scripts in sprite v]\nhide\nstop [this script v]\n\n@Sprite3\n\nwhen flag clicked\nhide\n\nwhen I receive [message1 v]\nswitch costume to (costume1 v)\ngo to x: (-230) y: (-100)\ngo to [front v] layer\nshow\nset [xv v] to [0]\nset [yv v] to [0]\nforever\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        change [xv v] by (1)\n    end\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        change [xv v] by (-1)\n    end\n    set [xv v] to ((Xv) * (0.9))\n    change x by (Xv)\n    if <touching color (#000000)?> then\n        change y by (1)\n        if <touching color (#000000)?> then\n            change y by (1)\n            if <touching color (#000000)?> then\n                change y by (1)\n                if <touching color (#000000)?> then\n                    change y by (1)\n                    if <touching color (#000000)?> then\n                        change y by (1)\n                        if <touching color (#000000)?> then\n                            change x by ((Xv) * (-1))\n                            change y by (-5)\n                            if <key (up arrow v) pressed?> then\n                                if <(Xv) > [0]> then\n                                    set [xv v] to [-5]\n                                else\n                                    set [xv v] to [5]\n                                end\n                                set [yv v] to [10]\n                            else\n                                set [xv v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [yv v] by (-1)\n    change y by (Yv)\n    if <touching color (#000000)?> then\n        change y by ((Yv) * (-1))\n        set [yv v] to [0]\n    end\n    change y by (-1)\n    if <touching color (#000000)?> then\n        if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n            set [yv v] to [14]\n        end\n    end\n    change y by (1)\n    if <(x position) > [238]> then\n        broadcast (message2 v)\n        reset\n    end\n    if <<<touching color (#bebebe)?> or <(y position) < [-175]>> or <key (r v) pressed?>> then\n        reset\n    end\n    if <touching (sprite4 v)?> then\n        broadcast (messege3 v)\n        repeat (50)\n            change [ghost v] effect by (2)\n        end\n        stop [other scripts in sprite v]\n        hide\n        stop [this script v]\n    end\nend\n\ndefine reset\ngo to x: (-230) y: (-100)\n\n@Sprite4\n\nwhen flag clicked\nhide\n\nwhen I receive [messege3 v]\nrepeat (50)\n    change [ghost v] effect by (2)\nend\nstop [other scripts in sprite v]\nhide\nstop [this script v]\n\nwhen I receive [message1 v]\nforever\n    if <(level) = [20]> then\n        go to x: (124) y: (71)\n        set size to (25) %\n        show\n        repeat until <touching (sprite2 v)?>\n            glide (0.3) secs to x: (124) y: (76)\n            glide (0.3) secs to x: (124) y: (71)\n        end\n    else\n        hide\n    end\nend\n\n
This game is really easy. \nIt will probably take only a couple of minutes.\n+++++++++++++++++++++++++++++++++++++++++\nArrow keys or WASD to move.\nAvoid spikes and it's color, and falling.\n+++++++++++++++++++++++++++++++++++++++++\nAll 20 levels are possible. \nIf you can, a love and fave would be very appreciated!\nEnjoy!