PLATFORMER

Instructions: UPDATE!!!!\n\nMORE LEVELS CLONE TRAIL DANGER AND MORE \n\nPRESS SPACE TO SKIP INTRO!!!\n\nWALLJUMP!!!!!!!!!!!!!!!\n\n–––––––––––––––––––––––––––––––––––––––––––––––––\n\nPfeil Tasten\n\n---------------------------------------------------------\n\nArrow Keys\n__________________________________________________________________________________________________\n\nNext update coming soon.\n\n-----------------------------------------------------\n\nDas nexte update kommt bald.

@Stage\n\n@Player\n\nwhen flag clicked\nhide\ngo to x: (-211) y: (-50)\nset [speedx v] to [0]\nset [speedy v] to [0]\n\nwhen backdrop switches to [bühnenbild2 v]\nshow\nforever\n    if <<key (right arrow v) pressed?> or <<key (d v) pressed?> or <<mouse down?> and <(mouse x) > (x position)>>>> then\n        change [speedx v] by (2)\n    end\n    if <<key (left arrow v) pressed?> or <<key (a v) pressed?> or <<mouse down?> and <(x position) > (mouse x)>>>> then\n        change [speedx v] by (-2)\n    end\n    change x by (speedX)\n    if <touching (platforms v)?> then\n        change x by ((speedX) * (-1))\n        if <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<mouse down?> and <(mouse y) > (y position)>>>> then\n            if <(speedX) > [0]> then\n                change [speedx v] by (-15)\n            else\n                change [speedx v] by (15)\n            end\n            set [speedy v] to [15]\n        else\n            set [speedx v] to [0]\n        end\n    else\n        set [speedx v] to ((speedX) * (0.8))\n    end\n    change y by (speedY)\n    if <touching (platforms v)?> then\n        change y by ((speedY) * (-1))\n        set [speedy v] to [0]\n        if <(lock) = [0]> then\n            if <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<mouse down?> and <(mouse y) > (y position)>>>> then\n                set [speedy v] to [13]\n                set [lock v] to [1]\n            end\n        end\n    else\n        change [speedy v] by (-1)\n        set [lock v] to [0]\n    end\n    if <(x position) > [239]> then\n        go to x: (-211) y: (-50)\n        broadcast (nl v)\n    end\n    if <touching (danger v)?> then\n        go to x: (-211) y: (-50)\n    end\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nrepeat (10)\n    change [ghost v] effect by (10)\n    change size by (-5)\nend\ndelete this clone\n\n@platforms\n\nwhen flag clicked\nswitch costume to (level 1 v)\n\nwhen I receive [nl v]\nnext costume\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [8]> then\n        broadcast (End v)\n        play sound [Revenge - A Minecraft Parody of Usher's DJ Got Us Fallin' In Love \(Music Video\) v] until done\n    end\nend\n\nwhen backdrop switches to [bühnenbild2 v]\nshow\n\n@Intro\n\nwhen flag clicked\nswitch backdrop to (bühnenbild1 v)\nerase all\npen up\ngo to x: (-80) y: (100)\nwait (0.1) seconds\ngo to [front v] layer\nstart sound [UNSPEAKABLEGAMING-INTRO-SONG-FULL-SOUNDTRACK- v]\npen down\nset pen size to (45)\nset pen color to (#ffffff)\nrepeat (16)\n    change x by (10)\nend\nrepeat (8)\n    change x by (-10)\nend\nrepeat (20)\n    change y by (-10)\nend\nwait (4.6) seconds\nstop all sounds\nstart sound [Tada v]\nswitch backdrop to (bühnenbild2 v)\nhide\nerase all\n\nwhen [space v] key pressed\nif <not <(backdrop [number v]) = [2]>> then\n    erase all\n    switch backdrop to (bühnenbild2 v)\n    stop all sounds\n    stop all sounds\n    stop all sounds\n    stop all sounds\n    stop [other scripts in sprite v]\n    stop [this script v]\nend\n\n@bild\n\nwhen flag clicked\nhide\n\ngo to [front v] layer\nshow\n\n@Danger\n\nwhen flag clicked\nswitch costume to (level 1 v)\nforever\n    go to [back v] layer\nend\n\nwhen I receive [nl v]\nnext costume\n\n@Sprite1\n\nwhen flag clicked\nreset timer\nhide\n\nwhen I receive [end v]\nshow\nforever\n    point in direction ((([sin v] of ((timer) * (150)) ) * (7)) + (90))\nend\n\nshow\nforever\n    point in direction ((([sin v] of ((timer) * (150)) ) * (8)) + (80))\nend\n\n