Purple || Platformer 
@Stage\n\nwhen I receive [startgame v]\nforever\n    play sound [Nebula v] until done\nend\n\n@Thumbnail\n\nwhen flag clicked\nforever\n    change [ghost v] effect by (100)\n    go to [front v] layer\nend\n\n@Bounce pad\n\nwhen I receive [nextlvl v]\nnext costume\n\nwhen flag clicked\nswitch costume to (1 v)\nshow\n\nwhen flag clicked\nswitch costume to (1 v)\nshow\n\nwhen flag clicked\nswitch costume to (1 v)\nshow\n\n@bounce pad 2\n\nwhen flag clicked\nshow\nset [ghost v] effect to (0)\nswitch costume to (1 v)\nforever\n    wait (2) seconds\n    repeat (4)\n        change [ghost v] effect by (25)\n    end\n    hide\n    wait (2) seconds\n    repeat (4)\n        change [ghost v] effect by (-25)\n    end\n    show\nend\n\nwhen flag clicked\nswitch costume to (1 v)\nshow\n\nwhen I receive [nextlvl v]\nnext costume\n\n@player\n\nwhen I receive [startgame v]\nwait (0.01) seconds\nshow\nswitch costume to (right v)\nshow variable [level v]\nset [level v] to [1]\nset [x velocity v] to [0]\nset [y velocity v] to [0]\ngo to x: (-214) y: (-90)\nforever\n    if <(x position) > [230]> then\n        change [level v] by (1)\n        set [y velocity v] to [0]\n        set [x velocity v] to [0]\n        go to x: (-214) y: (-90)\n        broadcast (NextLVL v)\n    end\n    if <key (right arrow v) pressed?> then\n        change [x velocity v] by (1)\n        switch costume to (right v)\n    end\n    if <key (left arrow v) pressed?> then\n        change [x velocity v] by (-1)\n        switch costume to (left v)\n    end\n    if <not <key (any v) pressed?>> then\n        switch costume to (normal v)\n    end\n    set [x velocity v] to ((x velocity) * (.9))\n    change x by (x velocity)\n    if <touching (level v)?> then\n        change y by (1)\n        if <touching (level v)?> then\n            change y by (1)\n            if <touching (level v)?> then\n                change y by (1)\n                if <touching (level v)?> then\n                    change y by (1)\n                    if <touching (level v)?> then\n                        change y by (1)\n                        if <touching (level v)?> then\n                            change x by ((x velocity) * (-1))\n                            change y by (-5)\n                            if <key (up arrow v) pressed?> then\n                                if <(x velocity) > [0]> then\n                                    set [x velocity v] to [-5]\n                                else\n                                    set [x velocity v] to [5]\n                                end\n                                set [y velocity v] to [10]\n                            else\n                                set [x velocity v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [y velocity v] by (-1)\n    change y by (y velocity)\n    if <touching (level v)?> then\n        change y by ((y velocity) * (-1))\n        set [y velocity v] to [0]\n    end\n    change y by (-1)\n    if <touching (level v)?> then\n        if <key (up arrow v) pressed?> then\n            change [y velocity v] by (15)\n        end\n    end\n    if <touching (spike's v)?> then\n        go to x: (-214) y: (-90)\n    end\n    if <touching (bounce pad v)?> then\n        set [y velocity v] to [20]\n    end\n    if <(level) = [15]> then\n        hide variable [level v]\n    end\n    if <touching (bounce pad 2 v)?> then\n        set [y velocity v] to [20]\n    end\n    change y by (1)\nend\n\nwhen flag clicked\nhide variable [level v]\nhide\n\n@level\n\nwhen flag clicked\nswitch costume to (1 v)\nhide\n\nwhen I receive [nextlvl v]\nshow\nnext costume\n\nwhen I receive [startgame v]\nshow\n\n@spike's\n\nwhen flag clicked\nswitch costume to (1 v)\nshow\n\nwhen I receive [nextlvl v]\nnext costume\n\n@Intro\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nswitch costume to (1 v)\ncreate clone of (_myself_ v)\nswitch costume to (2 v)\ncreate clone of (_myself_ v)\nswitch costume to (3 v)\ncreate clone of (_myself_ v)\nswitch costume to (4 v)\ncreate clone of (_myself_ v)\nswitch costume to (5 v)\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nforever\n    if <(costume [number v]) = [1]> then\n        show\n        set [ghost v] effect to (0)\n        set [pixelate v] effect to (0)\n        go to [back v] layer\n        go to x: (0) y: (0)\n        wait (5.25) seconds\n        repeat (10)\n            change [pixelate v] effect by (10)\n            change [ghost v] effect by (10)\n        end\n        broadcast (StartGame v)\n        stop [this script v]\n    end\nend\n\nwhen I start as a clone\nforever\n    if <(costume [number v]) = [5]> then\n        show\n        go to x: (0) y: (0)\n        set [ghost v] effect to (0)\n        repeat (50)\n            change [ghost v] effect by (2)\n        end\n        stop [this script v]\n    end\nend\n\nwhen I start as a clone\nforever\n    if <(costume [number v]) = [2]> then\n        hide\n        go to [front v] layer\n        go to x: (0) y: (700)\n        wait (1.5) seconds\n        show\n        start sound [Low Whoosh v]\n        glide (0.25) secs to x: (0) y: (90)\n        wait (3) seconds\n        repeat (10)\n            change [ghost v] effect by (10)\n        end\n        forever\n            hide\n        end\n    end\nend\n\nwhen I start as a clone\nforever\n    if <(costume [number v]) = [3]> then\n        hide\n        go to [front v] layer\n        go to x: (0) y: (-700)\n        wait (2.5) seconds\n        show\n        start sound [Low Whoosh v]\n        glide (0.25) secs to x: (0) y: (-80)\n        wait (2) seconds\n        repeat (10)\n            change [ghost v] effect by (10)\n        end\n        forever\n            hide\n        end\n    end\nend\n\nwhen I start as a clone\nforever\n    if <(costume [number v]) = [4]> then\n        show\n        set [ghost v] effect to (100)\n        set [pixelate v] effect to (100)\n        go to [front v] layer\n        go to x: (0) y: (-37)\n        wait (3.5) seconds\n        show\n        start sound [Teleport2 v]\n        repeat (10)\n            change [ghost v] effect by (-10)\n            change [pixelate v] effect by (-10)\n        end\n        wait (0.90) seconds\n        repeat (10)\n            change [ghost v] effect by (10)\n        end\n        forever\n            hide\n        end\n    end\nend\n\n
Purple || A Platformer   EVERYTHING IS POSSIBLE!\n\n\nuse the arrows to move around\ndon't touch spikes