Platformer
@Stage\n\n@Sprite2\n\nwhen flag clicked\nforever\n    if <(Level) = [14]> then\n        if <touching color (#ff00bf)?> then\n            switch costume to (costume2 v)\n            wait (5) seconds\n            switch costume to (costume3 v)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#00cccc)?> then\n        if <key (up arrow v) pressed?> then\n            set [yv v] to [5]\n        else\n            set [yv v] to [-1]\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#ff0000)?> then\n        go to x: (-215) y: (-127)\n        change [deaths v] by (1)\n    end\nend\n\nwhen flag clicked\nhide\nswitch costume to (costume3 v)\nswitch backdrop to (untitled v)\nset [level v] to [0]\nset [deaths v] to [0]\nforever\n    if <touching color (#ffff00)?> then\n        next backdrop\n        go to x: (-215) y: (-127)\n        change [level v] by (1)\n    end\nend\n\nwhen I receive [play v]\ngo to x: (-215) y: (-127)\n\nwhen flag clicked\nforever\n    if <touching color (#ff9400)?> then\n        next backdrop\n        wait (0.1) seconds\n        next backdrop\n        wait (0.1) seconds\n        next backdrop\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Deaths) = [20]> then\n        hide\n        switch backdrop to (backdrop19 v)\n        wait (1) seconds\n        switch backdrop to (backdrop21 v)\n        wait (1) seconds\n        switch backdrop to (backdrop20 v)\n        wait (1) seconds\n        switch backdrop to (backdrop23 v)\n        wait (1) seconds\n        switch backdrop to (backdrop22 v)\n        wait (1) seconds\n        hide\n        stop [all v]\n    end\nend\n\nwhen flag clicked\ngo to x: (-285) y: (-157)\nforever\n    if <key (right arrow v) pressed?> then\n        change [xv v] by (1)\n    end\n    if <key (left arrow 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?> then\n            set [yv v] to [15]\n        end\n    end\n    change y by (1)\nend\n\nwhen flag clicked\nforever\n    if <key (r v) pressed?> then\n        wait (1) seconds\n        go to x: (-215) y: (-127)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#e0e026)?> then\n        say [Faked!] for (5) seconds\n    end\nend\n\nwhen flag clicked\nforever\n    if <(username) = [raystar123]> then\n        if <key (space v) pressed?> then\n            wait (0.5) seconds\n            next backdrop\n            change [level v] by (1)\n        end\n    end\nend\n\nwhen I receive [play v]\nshow\n\nwhen flag clicked\nforever\n    if <(Level) = [23]> then\n        hide\n        wait (5) seconds\n        stop [all v]\n    end\nend\n\nswitch backdrop to (backdrop30 v)\n\nwhen flag clicked\nforever\n    if <touching color (#0aff0a)?> then\n        set [yv v] to [20]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [18]> then\n        if <touching color (#ff00bf)?> then\n            switch costume to (costume2 v)\n            wait (5) seconds\n            switch costume to (costume3 v)\n        end\n    end\nend\n\n@Sprite1\n\nwhen flag clicked\nshow\nforever\n    go to x: (-19) y: (-75)\n    if <<touching (mouse-pointer v)?> and <mouse down?>> then\n        broadcast (play v)\n    end\nend\n\nwhen I receive [play v]\nhide\nswitch backdrop to (backdrop1 v)\nstop [other scripts in sprite v]\n\n@Sprite3\n\nwhen flag clicked\nforever\n    go to x: (40) y: (0)\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [11]> then\n        repeat (10)\n            wait (1) seconds\n            switch costume to (costume2 v)\n            wait (1) seconds\n            switch costume to (costume1 v)\n        end\n    end\nend\n\nwhen flag clicked\nhide\nswitch costume to (costume1 v)\n\nwhen flag clicked\nforever\n    if <(Level) = [11]> then\n        show\n    else\n        hide\n    end\nend\n\n@Sprite4\n\nwhen flag clicked\nforever\n    if <(Level) = [11]> then\n        repeat (10)\n            wait (1) seconds\n            switch costume to (costume1 v)\n            wait (1) seconds\n            switch costume to (costume2 v)\n        end\n    end\nend\n\nwhen flag clicked\nhide\nswitch costume to (costume2 v)\n\nwhen flag clicked\nforever\n    go to x: (150) y: (0)\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [11]> then\n        show\n    else\n        hide\n    end\nend\n\n@Sprite5\n\nwhen flag clicked\nforever\n    go to x: (250) y: (0)\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [11]> then\n        repeat (10)\n            wait (1) seconds\n            switch costume to (costume2 v)\n            wait (1) seconds\n            switch costume to (costume1 v)\n        end\n    end\nend\n\nwhen flag clicked\nhide\nswitch costume to (costume1 v)\n\nwhen flag clicked\nforever\n    if <(Level) = [11]> then\n        show\n    else\n        hide\n    end\nend\n\n
This is the Platformer\nUse the arrow keys to move\nPress 'r' to reset\nIn this game there are platforms that you need to overcome and reach your goal, but be warned there are dangers among you and water levels so use them to your advantage,\nThe gems you gain will give you 5 seconds of smallness so you can fit through tight spots.\n\n