Get trolled(platformer)
@Stage\n\nwhen flag clicked\nswitch backdrop to (outdoors v)\n\nwhen I receive [next level v]\nnext backdrop\n\n@Player\n\nset [gravity v] to [-5]\nset [x velocity v] to [0]\nset [y velocity v] to [0]\nforever\n    if <not <touching (ground v)?>> then\n        change y by (Gravity)\n    end\n    if <key (left arrow v) pressed?> then\n        set rotation style [left-right v]\n        point in direction (-90)\n        move (5) steps\n    end\n    if <key (right arrow v) pressed?> then\n        set rotation style [left-right v]\n        point in direction (90)\n        move (5) steps\n    end\n    if <touching (ground v)?> then\n        set [y velocity v] to [0]\n        if <key (up arrow v) pressed?> then\n            set [y velocity v] to [20]\n        end\n    end\n    change y by (Y velocity)\n    change [y velocity v] by (-1)\nend\n\nwhen flag clicked\nforever\n    switch costume to (costume1 v)\n    wait (0.1) seconds\n    switch costume to (costume3 v)\n    wait (0.1) seconds\n    switch costume to (costume2 v)\n    wait (0.1) seconds\n    switch costume to (costume4 v)\n    wait (0.1) seconds\n    switch costume to (costume5 v)\n    wait (0.1) seconds\n    switch costume to (costume6 v)\n    wait (0.1) seconds\n    switch costume to (costume1 v)\n    wait (2) seconds\nend\n\nwhen I receive [start v]\nshow\n\nwhen I receive [next level v]\ngo to x: (-179) y: (-79)\n\nwhen backdrop switches to [white space v]\ngo to x: (-170) y: (19)\n\ndefine Touch Block <up?>\nchange [falling? v] by (1)\nrepeat until <not >\n    if <up?> then\n        change y by (-1)\n    else\n        change y by (1)\n        set [falling? v] to [0]\n    end\n    set [speed y v] to [0]\nend\n\ndefine Walk (direction) (speed)\npoint in direction (direction)\nchange x by (speed)\nset [slope v] to [0]\nrepeat until <<(slope) = [8]> or <not >>\n    change y by (1)\n    change [slope v] by (1)\nend\nif <(slope) = [8]> then\n    change x by ((0) - (speed))\n    change y by ((0) - (slope))\nend\n\nwhen flag clicked\nforever\n\nwhen flag clicked\nset rotation style [left-right v]\ngo to x: (-179) y: (-79)\nshow\nset [speed y v] to [0]\nset [falling? v] to [10]\nforever\n    change [speed y v] by (-1)\n    change y by (speed y)\n    Touch Block <(speed y) > [0]>\n    if <<key (a v) pressed?> or <key (left arrow v) pressed?>> then\n        Walk (-90) (-10)\n    end\n    if <<key (d v) pressed?> or <key (right arrow v) pressed?>> then\n        Walk (90) (10)\n    end\n    if <<<key (w v) pressed?> or <key (up arrow v) pressed?>> and <(falling?) < [3]>> then\n        set [speed y v] to [15]\n    end\n    if <touching color (#66004c)?> then\n        set [speed y v] to [22]\n    end\n    if <(y position) < [-180]> then\n        go to x: (-179) y: (-79)\n        set [speed y v] to [0]\n    end\n    if <touching (goal v)?> then\n        broadcast (next level v)\n    end\n    if <<(backdrop [name v]) = [white space  ]> and <(y position) < [-180]>> then\n        go to x: (-155) y: (-134)\n        set [speed y v] to [0]\n    end\n    if <<touching color (#ff0000)?> or <touching (sprite2 v)?>> then\n        go to x: (-179) y: (-79)\n    end\nend\n\nwhen backdrop switches to [white space v]\ngo to x: (-159) y: (-123)\n\n@goal\n\nwhen flag clicked\ngo to x: (251) y: (-58)\nshow\n\nwhen I receive [start v]\n\nwhen backdrop switches to [white space v]\nswitch costume to (costume2 v)\ngo to x: (230) y: (-152)\n\nwhen backdrop switches to [outdoors v]\ngo to x: (251) y: (-58)\nswitch costume to (costume1 v)\n\nwhen backdrop switches to [x yellow v]\nswitch costume to (costume3 v)\ngo to x: (-227) y: (-137)\n\nwhen backdrop switches to [classic v]\nswitch costume to (costume2 v)\ngo to x: (254) y: (39)\n\n@Sprite1\n\nwhen flag clicked\nshow\nwait (1.5) seconds\nhide\n\n
WAD or arrow keys to move\nfigure what colors do what :)\nEasier in full-screen\nI would make it go to next level if you go to the edge to the right, but it would mess up a lot of the levels\nThanks for the views and stuff XD\n