2 Player Platformer (wip)

Instructions: This isn't done yet :-)\n------------------------------------CONTROLS----------------------------------------\n\n- WASD to move the blue character\n- Arrow keys yo move the red character\n\n-------------------------------------COLOURS-----------------------------------------\n\n- Green is the ground\n- Yellow is a button (you just have to touch it)\n- Only the blue character can go through dark blue\n- Only the red character can go through dark red\n- Light blue is water\n- When the blue character touches the lilac square and the red \n  character touches the light red square you advance to the next level 

@Stage\n\nwhen flag clicked\nswitch backdrop to (level1a v)\n\nwhen I receive [next world2 v]\nswitch backdrop to (level11a v)\n\n@player1\n\nwhen flag clicked\nhide\ngo to x: (-227) y: (-138)\nshow\nset [yv v] to [0]\nset [xv v] to [0]\nforever\n    if <touching color (#00cccc)?> then\n        change [yv v] by (-0.2)\n    else\n        change [yv v] by (-0.5)\n    end\n    if <key (d v) pressed?> then\n        change [xv v] by (0.7)\n    end\n    if <key (a v) pressed?> 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 (#00cc44)?> or <touching (player2 v)?>> or <touching color (#990000)?>> or <touching color (#009933)?>> then\n        change y by (1)\n        if <<<<touching color (#00cc44)?> or <touching (player2 v)?>> or <touching color (#990000)?>> or <touching color (#009933)?>> then\n            change y by (1)\n            if <<<<touching color (#00cc44)?> or <touching (player2 v)?>> or <touching color (#990000)?>> or <touching color (#009933)?>> then\n                change y by (1)\n                if <<<<touching color (#00cc44)?> or <touching (player2 v)?>> or <touching color (#990000)?>> or <touching color (#009933)?>> then\n                    change y by (1)\n                    if <<<<touching color (#00cc44)?> or <touching (player2 v)?>> or <touching color (#990000)?>> or <touching color (#009933)?>> then\n                        change y by (1)\n                    end\n                    if <<<<touching color (#00cc44)?> or <touching (player2 v)?>> or <touching color (#990000)?>> or <touching color (#009933)?>> then\n                        change x by ((Xv) * (-1))\n                        change x by (-1)\n                        change y by (-5)\n                        if <touching (none v)?> then\n                            change x by (Change)\n                        end\n                        change x by (1)\n                    end\n                end\n            end\n        end\n    end\n    change y by (Yv)\n    if <<<<touching color (#00cc44)?> or <touching (player2 v)?>> or <touching color (#990000)?>> or <touching color (#009933)?>> then\n        change y by ((Yv) * (-1))\n        set [yv v] to [0]\n    end\n    change y by (-1)\n    if <key (w v) pressed?> then\n        if <<<<touching color (#00cc44)?> or <touching (player2 v)?>> or <touching color (#990000)?>> or <touching color (#009933)?>> then\n            set [yv v] to [10]\n        end\n        if <touching color (#00cccc)?> then\n            set [yv v] to [4]\n        end\n    end\n    change y by (1)\n    if <touching color (#ffff00)?> then\n        switch backdrop to (next backdrop v)\n    end\n    if <<touching color (#99b2ff)?> and <(player2) = [1]>> then\n        set [player2 v] to [0]\n        switch backdrop to (next backdrop v)\n        go to x: (-227) y: (-138)\n        broadcast (next v)\n    end\nend\n\nwhen I receive [start2 v]\n\nwhen I receive [start v]\n\nwhen backdrop switches to [level10e v]\ngo to x: (-227) y: (-138)\nstop [other scripts in sprite v]\n\n@player2\n\nwhen flag clicked\nhide\ngo to x: (-192) y: (-138)\nshow\nset [yv v] to [0]\nset [xv v] to [0]\nforever\n    if <touching color (#00cccc)?> then\n        change [yv v] by (-0.2)\n    else\n        change [yv v] by (-0.5)\n    end\n    if <key (right arrow v) pressed?> then\n        change [xv v] by (0.7)\n    end\n    if <key (left arrow v) pressed?> 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 (#002699)?> or <<touching color (#00cc44)?> or <<touching (player1 v)?> or <touching color (#009933)?>>>> then\n        change y by (1)\n        if <<touching color (#002699)?> or <<touching color (#00cc44)?> or <<touching (player1 v)?> or <touching color (#009933)?>>>> then\n            change y by (1)\n            if <<touching color (#002699)?> or <<touching color (#00cc44)?> or <<touching (player1 v)?> or <touching color (#009933)?>>>> then\n                change y by (1)\n                if <<touching color (#002699)?> or <<touching color (#00cc44)?> or <<touching (player1 v)?> or <touching color (#009933)?>>>> then\n                    change y by (1)\n                    if <<touching color (#002699)?> or <<touching color (#00cc44)?> or <<touching (player1 v)?> or <touching color (#009933)?>>>> then\n                        change y by (1)\n                    end\n                    if <<touching color (#002699)?> or <<touching color (#00cc44)?> or <<touching (player1 v)?> or <touching color (#009933)?>>>> then\n                        change x by ((Xv) * (-1))\n                        change x by (-1)\n                        change y by (-5)\n                        if <touching (none v)?> then\n                            change x by (Change)\n                        end\n                        change x by (1)\n                    end\n                end\n            end\n        end\n    end\n    change y by (Yv)\n    if <<touching color (#002699)?> or <<touching color (#00cc44)?> or <<touching (player1 v)?> or <touching color (#009933)?>>>> then\n        change y by ((Yv) * (-1))\n        set [yv v] to [0]\n    end\n    change y by (-1)\n    if <key (up arrow v) pressed?> then\n        if <<touching color (#002699)?> or <<touching color (#00cc44)?> or <<touching (player1 v)?> or <touching color (#009933)?>>>> then\n            set [yv v] to [10]\n        end\n        if <touching color (#00cccc)?> then\n            set [yv v] to [4]\n        end\n    end\n    change y by (1)\n    if <touching color (#ffff00)?> then\n        switch backdrop to (next backdrop v)\n    end\n    if <touching color (#ff9999)?> then\n        set [player2 v] to [1]\n    else\n        set [player2 v] to [0]\n    end\nend\n\nwhen I receive [start v]\n\nwhen I receive [start2 v]\n\nwhen I receive [next v]\ngo to x: (-192) y: (-138)\n\nwhen backdrop switches to [level10e v]\ngo to x: (-192) y: (-138)\nstop [other scripts in sprite v]\nbroadcast (next world v)\n\n@Sprite4\n\nwhen flag clicked\ngo to x: (0) y: (0)\nhide\nset size to (0) %\n\nwhen I receive [next world v]\nshow\nrepeat (100)\n    change size by (1)\nend\nwait (0.5) seconds\nbroadcast (next world2 v)\nwait (1) seconds\nrepeat (100)\n    change size by (-1)\nend\nhide\nbroadcast (START WORLD 2 v)\nbroadcast (start2 v)\n\n@sound1\n\nwhen flag clicked\nset volume to (100) %\nforever\n    play sound [TMM43 - Ultimate Destruction v] until done\nend\n\nwhen I receive [next world v]\nrepeat (100)\n    change volume by (-1)\nend\n\nplay sound [TMM43 - The 7th Day v] until done\n\n@sound2\n\nwhen flag clicked\nset volume to (100) %\n\nwhen I receive [next world2 v]\nforever\n    play sound [TMM43 - The 7th Day v] until done\nend\n\nwhen I receive [nextworld3 v]\nrepeat (100)\n    change volume by (-1)\nend\n\n