Purple Cube (Platformer)

Instructions: Arrow keys to move OR click where you want to go.  Get through all 20 levels!  They are all possible.  Press S to skip the level and R to restart. \nPS: Try using the mouse click to move!  It's awesome!  Also, it's my first time trying it out! ;)

@Stage\n\n@Player\n\nwhen I receive [play v]\nswitch backdrop to (backdrop1 v)\nset rotation style [left-right v]\nswitch costume to (costume15 v)\ngo to x: (-207) y: (103)\nset [x v] to [0]\nset [y v] to [0]\nshow\nwait (.1) seconds\nforever\n    if <touching color (#ed3b3b)?> then\n        go to x: (-207) y: (103)\n        set [x v] to [0]\n        set [y v] to [0]\n    end\n    if <(x position) > [228]> then\n        next backdrop\n        go to x: (-207) y: (103)\n        set [x v] to [0]\n        set [y v] to [0]\n    end\n    if <(y position) < [-170]> then\n        go to x: (-207) y: (103)\n        set [x v] to [0]\n        set [y v] to [0]\n    end\n    if <<<(mouse x) > (x position)> and <mouse down?>> or <key (right arrow v) pressed?>> then\n        change [x v] by (1)\n    end\n    if <<<(mouse x) < (x position)> and <mouse down?>> or <key (left arrow v) pressed?>> then\n        change [x v] by (-1)\n    end\n    set [x v] to ((x) * (0.9))\n    change x by (x)\n    if <touching color (#54ec3c)?> then\n        change y by (1)\n        change x by ((x) * (-1))\n        if <<key (up arrow v) pressed?> or <mouse down?>> then\n            set [y v] to [10]\n            if <(x) > [0]> then\n                set [x v] to [-10]\n            else\n                set [x v] to [10]\n            end\n        else\n            set [x v] to [0]\n        end\n    end\n    change [y v] by (-.6)\n    change y by (y)\n    if <touching color (#54ec3c)?> then\n        change y by ((y) * (-1))\n        set [y v] to [0]\n    end\n    change y by (-1)\n    if <touching color (#54ec3c)?> then\n        if <<<mouse down?> and <(mouse y) > (y position)>> or <key (up arrow v) pressed?>> then\n            set [y v] to [10]\n        end\n    end\n    change y by (1)\nend\n\nwhen I receive [play v]\nset size to (100) %\nforever\n    if <touching color (#fc6d00)?> then\n        set [x v] to [20]\n        set [y v] to [15]\n    end\n    if <touching color (#ff5000)?> then\n        set [x v] to [-20]\n        set [y v] to [15]\n    end\n    if <touching color (#ed5f00)?> then\n        set [y v] to [17]\n    end\nend\n\nwhen [s v] key pressed\nnext backdrop\ngo to x: (-207) y: (103)\nset [x v] to [0]\nset [y v] to [0]\n\nwhen [r v] key pressed\ngo to x: (-207) y: (103)\nset [x v] to [0]\nset [y v] to [0]\n\n@Sprite1\n\nwhen I receive [play v]\nhide\n\nwhen backdrop switches to [backdrop12 v]\nshow\nforever\n    go to x: (13) y: (352)\n    repeat (70)\n        change y by (-10)\n    end\nend\n\nwhen backdrop switches to [backdrop14 v]\nhide\n\n@Sprite2\n\ngo to x: (13) y: (352)\n\nwhen I receive [play v]\nhide\n\nwhen backdrop switches to [backdrop14 v]\ngo to x: (-120) y: (11)\nshow\nforever\n    glide (3) secs to x: (210) y: (19)\n    glide (3) secs to x: (-120) y: (19)\nend\n\nwhen backdrop switches to [backdrop15 v]\nhide\n\n@Sprite3\n\nwhen I receive [play v]\nhide\n\nwhen backdrop switches to [backdrop21 v]\nshow\nstop [all v]\n\n@Sprite4\n\nwhen flag clicked\nshow\n\nwhen I receive [play v]\nhide\n\n@Sprite5\n\nwhen flag clicked\ngo to [front v] layer\nshow\nforever\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (0)\n    else\n        set [brightness v] effect to (10)\n    end\nend\n\nwhen this sprite clicked\nbroadcast (Play v)\nhide\n\n