Increase || A Mobile Platformer
@Stage\n\nwhen flag clicked\nclear graphic effects\nswitch backdrop to (backdrop1 v)\n\nwhen I receive [go v]\nswitch backdrop to (backdrop2 v)\nforever\n    if <key (v v) pressed?> then\n        wait (0.1) seconds\n        next backdrop\n    else\n        if <key (b v) pressed?> then\n            wait (0.1) seconds\n            switch backdrop to ((backdrop [number v]) - (1))\n        end\n    end\nend\n\nwhen I receive [nextlevel v]\nnext backdrop\n\n@Sprite2\n\nwhen I receive [go v]\nforever\n    if <touching color (#3700ff)?> then\n        set [yv v] to [19]\n    else\n        if <touching color (#ff9700)?> then\n            broadcast (sped v)\n        end\n    end\nend\n\nwhen I receive [sped v]\nrepeat (5)\n    change y by (2)\n    change x by (15)\n    set [yv v] to [0]\nend\n\nwhen I receive [go v]\nwait (0.1) seconds\nset size to (90) %\nclear graphic effects\ngo to x: (-209) y: (-64)\nshow\nforever\n    change y by (-0.1)\n    change [yv v] by (-0.5)\n    if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(mouse x) > (x position)>>> then\n        change [xv v] by (0.7)\n    end\n    go to [front v] layer\n    if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(mouse x) < (x position)>>> then\n        change [xv v] by (-0.7)\n    end\n    set [xv v] to ((Xv) * (0.9))\n    change x by (Xv)\n    if <touching color (#7f7f7f)?> then\n        change y by (1)\n        if <touching color (#7f7f7f)?> then\n            change y by (1)\n            if <touching color (#7f7f7f)?> then\n                change y by (1)\n                if <touching color (#7f7f7f)?> then\n                    change y by (1)\n                    if <touching color (#7f7f7f)?> then\n                        change y by (1)\n                    end\n                    if <touching color (#7f7f7f)?> then\n                        change x by ((Xv) * (-1))\n                        change x by (-1)\n                        change y by (-5)\n                        change x by (1)\n                        if <<key (space v) pressed?> or <<key (w v) pressed?> or <<key (up arrow v) pressed?> or <<mouse down?> and <((mouse y) - (y position)) > [45]>>>>> then\n                            if <(Xv) < [0]> then\n                                set [yv v] to [10]\n                                set [xv v] to [10]\n                            else\n                                set [yv v] to [10]\n                                set [xv v] to [-10]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change y by (Yv)\n    if <touching color (#7f7f7f)?> then\n        change y by ((Yv) * (-1))\n        set [yv v] to [0]\n    end\n    change y by (-1)\n    if <touching color (#7d7d7d)?> then\n        if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n            set [yv v] to [9]\n        end\n    end\n    if <<touching color (#ff0000)?> or <touching color (#000000)?>> then\n        play sound [crashed oof v] until done\n        repeat (10)\n            change [ghost v] effect by (10)\n        end\n        set [xv v] to [0]\n        set [yv v] to [0]\n        go to x: (-215) y: (-110)\n        clear graphic effects\n    end\n    change y by (1)\n    if <(x position) > [235]> then\n        repeat (10)\n            change [ghost v] effect by (10)\n        end\n        set [yv v] to [0]\n        set [xv v] to [0]\n        go to x: (-209) y: (-64)\n        broadcast (nextlevel v)\n        repeat (10)\n            change [ghost v] effect by (-10)\n        end\n    end\nend\n\nwhen flag clicked\npoint in direction (90)\nhide\nforever\n    if <key (r v) pressed?> then\n        set [xv v] to [0]\n        set [yv v] to [0]\n        go to x: (-209) y: (-64)\n    end\nend\n\nwhen I receive [go v]\nforever\n    change y by (-0.1)\n    if <touching color (#7d7d7d)?> then\n        if <<mouse down?> and <((mouse y) - (y position)) > [40]>> then\n            set [yv v] to [9]\n        end\n    end\nend\n\nchange y by (-0.1)\n\n@Sprite1\n\nwhen flag clicked\ngo to x: (5) y: (2)\ngo [backward v] (3) layers\nshow\nset [ghost v] effect to (100)\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\nclear graphic effects\n\nwhen I receive [go v]\nhide\n\n@Sprite3\n\nwhen flag clicked\ngo [backward v] (1) layers\ngo to x: (-4) y: (-84)\nset [ghost v] effect to (100)\nshow\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\n\nwhen this sprite clicked\nhide\nbroadcast (go v)\n\n@Sprite4\n\nwhen flag clicked\ngo to x: (0) y: (0)\nset [ghost v] effect to (0)\ngo to [front v] layer\nwait (2) seconds\nrepeat (50)\n    go to [front v] layer\n    change [ghost v] effect by (4)\nend\nforever\n    play sound [the piano moosic v] until done\nend\n\n@Sprite5\n\nwhen flag clicked\nclear graphic effects\npoint in direction (90)\nshow\nwait (4) seconds\nrepeat until <(backdrop [number v]) = [2]>\n    wait (1) seconds\n    repeat (45)\n        change [color v] effect by (5)\n        turn right (8) degrees\n    end\n    wait (1) seconds\n    repeat (45)\n        change [color v] effect by (5)\n        turn left (8) degrees\n    end\nend\n\nwhen I receive [go v]\nhide\n\n@Sprite6\n\nwhen flag clicked\nset size to (50) %\ngo [backward v] (2) layers\nhide\ngo to (sprite2 v)\n\nwhen I receive [go v]\nforever\n    wait (0) seconds\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nwait (0) seconds\ngo to (sprite2 v)\nset size to (75) %\nshow\nrepeat (10)\n    change size by (-3)\n    change [ghost v] effect by (7)\nend\ndelete this clone\n\n
-Increase || a platformer   ---------How to play--------------\n\n***IMPORTANT***  If you are laggy try using a different browser like fire fox or some thing like that.            \n\n-Try not to touch red and spikes       -S to skip-\n-Blue is bouncy :D                            -B to go back-\n- Orange is speedy!                          -R to reset-\n- All levels are possible! \n-Arrow keys,WASD,Mobile controls to move\n\nSorry if you get stuck in a wall D: but if you do then press R to reset\n\n\n