Purple | A Platformer |

Instructions: All 9 levels are possible. Last level is just for "fun".\n\nWill add more levels, ability's, etc... \nSuggestions are always welcome!\n\nArrow keys and for mobile, tap anywhere on the screen or for specific:\n\nFor PC:\nRight or D key to move right\nLeft or A key to move left\nUp or W key to jump\n\nFor Mobile:\nTap left side of screen to go left\nTap right side of screen to go right\nTap top of screen to jump\n\nSimple...\n\nAnd as for the dangers:\nDon't touch the spikes whatever you do.\n\nHave fun!\n\nNOTE: Please don't comment "What's level V and X?". It's the Roman Numeral for the number 5 and 10. You might have known that though ;)

@Stage\n\nwhen flag clicked\nforever\n    play sound [bensound-goinghigher v] until done\nend\n\n@Player\n\nwhen flag clicked\ngo to x: (-200) y: (100)\nset [gravity v] to [0]\nset [x velocity v] to [0]\nforever\n    if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(mouse x) > [50]>>> then\n        change [x velocity v] by (1)\n    end\n    if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(mouse x) < [50]>>> then\n        change [x velocity v] by (-1)\n    end\n    set [x velocity v] to ((X velocity) * (.9))\n    change x by (X velocity)\n    if <touching color (#5a3c95)?> then\n        change y by (1)\n        if <touching color (#5a3c95)?> then\n            change y by (1)\n            if <touching color (#5a3c95)?> then\n                change y by (1)\n                if <touching color (#5a3c95)?> then\n                    change y by (1)\n                    if <touching color (#5a3c95)?> then\n                        change y by (1)\n                        if <touching color (#5a3c95)?> then\n                            change x by ((X velocity) * (-1))\n                            change y by (-5)\n                            if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse x) > [50]>>> 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 [gravity 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 [gravity v] by (-1)\n    change y by (Gravity)\n    if <touching color (#5a3c95)?> then\n        change y by ((Gravity) * (-1))\n        set [gravity v] to [0]\n    end\n    change y by (-1)\n    if <touching color (#5a3c95)?> then\n        if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse x) > [50]>>> then\n            set [gravity v] to [16]\n        end\n    end\n    change y by (1)\n    if <<touching color (#453466)?> or <(y position) < [-170]>> then\n        repeat (20)\n            change [ghost v] effect by (5)\n        end\n        set [gravity v] to [0]\n        set [x velocity v] to [0]\n        set [ghost v] effect to (0)\n        go to x: (-200) y: (100)\n    end\n    if <(x position) > [230]> then\n        go to x: (-200) y: (100)\n        broadcast (NB v)\n    end\n    if <touching color (#e5d7ff)?> then\n        if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(mouse x) > [50]>>> then\n            change [x velocity v] by (5)\n        end\n        if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(mouse x) < [50]>>> then\n            change [x velocity v] by (-5)\n        end\n    end\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nrepeat (15)\n    turn left (15) degrees\n    change [color v] effect by (.5)\n    change [ghost v] effect by (7)\n    change size by (-7)\nend\ndelete this clone\n\n@Platforms\n\nwhen flag clicked\ngo to x: (0) y: (0)\nswitch costume to (costume1 v)\ngo [backward v] (100) layers\n\nwhen I receive [nb v]\nnext costume\n\n@TN\n\nwhen flag clicked\nforever\n    show\n    set size to (100) %\n    go to [front v] layer\n    go to x: (0) y: (0)\n    set [ghost v] effect to (100)\nend\n\n