NEON-PLATFORMER
@Stage\n\nwhen I receive [gameover v]\nstop all sounds\nswitch backdrop to (bühnenbild1 v) and wait\nplay sound [Super Mario - Dead v] until done\n\nwhen flag clicked\nif <[0] = (pick random (0) to (1))> then\n    play sound [Ahrix - Nova.mp3 v] until done\nelse\n    play sound [The_Chainsmokers_-_Dont_Let_Me_Down_\(Audio\)_ft._Daya.mp3 v] until done\nend\n\nwhen I receive [win v]\nstop all sounds\nswitch backdrop to (download \(1\) v) and wait\nplay sound [Virtual Riot - Energy Drink.mp3 v] until done\n\nwhen flag clicked\nswitch backdrop to (download \(1\) v)\nwait (3.8) seconds\nrepeat (10)\n    change [brightness v] effect by (-10)\nend\nbroadcast (background v)\nwait (1) seconds\nrepeat (10)\n    change [brightness v] effect by (10)\nend\n\n@@pUSERNAME\n\nwhen I receive [antidoublejump v]\nset [debug v] to [0]\n\nwhen I receive [debug v]\nset [debug v] to [1]\n\nwhen flag clicked\nset [debug v] to [1]\n\nset size to (7.5) %\n\nwhen I receive [gameover v]\nhide\nstop [other scripts in sprite v]\n\nwhen I receive [win v]\nhide\nbroadcast (sppace=end v)\nstop [other scripts in sprite v]\n\ndefine Gehe (number1) nach rechts\nif <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n    change x by (number1)\nend\n\nwhen I receive [next level v]\nchange [level v] by (1)\ngo to x: (-191) y: (-20)\nwait until <touching (portal v)?>\nchange [level v] by (1)\ngo to x: (-183) y: (-32)\nwait until <touching (portal v)?>\nchange [level v] by (1)\ngo to x: (-192) y: (86)\nwait until <touching (portal v)?>\nbroadcast (win v)\nset [soundoff v] to [1]\n\nwhen flag clicked\nset [soundoff v] to [0]\nset [level v] to [1]\n\ndefine Gravity\n\nwait until <(Level) = [2]>\nforever\n    if <not <touching (level2 v)?>> then\n        change y by (Graviity)\n    end\nend\n\ndefine Gravity (\@1)\n\nwhen flag clicked\nwait until <<<<touching (go1 v)?> or <touching (abby v)?>> or <touching (abby2 v)?>> or <<touching (abby3 v)?> or <touching (abby4 v)?>>>\nbroadcast (gameover v)\nset [soundoff v] to [1]\n\nwhen flag clicked\nwait until <touching (portal v)?>\nbroadcast (next level v)\nstop [this script v]\n\nwhen flag clicked\nset [reset earth acceleration v] to [1]\nwait (4.1) seconds\nrepeat until <(Level) = [2]>\n    if <not <touching (level1 v)?>> then\n        set [reset earth acceleration v] to [0]\n        change y by (Graviity)\n    else\n        set [reset earth acceleration v] to [1]\n    end\nend\n\nwhen flag clicked\nwait until <(Level) = [2]>\nforever\n    if <not <touching (level2 v)?>> then\n        set [reset earth acceleration v] to [0]\n        change y by (Graviity)\n    else\n        set [reset earth acceleration v] to [1]\n    end\nend\n\nGravity\n\nwhen flag clicked\nwait (4) seconds\nforever\n    Gehe (4) nach rechts\nend\n\ndefine Springe Höhe (höhe) mit der Geschwindigkeit (speed)\nif <<<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <key (space v) pressed?>> and <(DeBug) = [1]>> then\n    broadcast (antidoublejump v)\n    repeat (höhe)\n        change y by (speed)\n    end\nend\nwait until <<touching (level1 v)?> or <touching (level2 v)?>>\nbroadcast (debug v)\n\nwhen flag clicked\nwait (4) seconds\nforever\n    Gehe (-4) nach links\nend\n\ndefine Gehe (number1) nach links\nif <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n    change x by (number1)\nend\n\nwhen flag clicked\nhide\nwait (4.25) seconds\ngo to x: (-190) y: (-41)\nshow\nforever\n    Springe Höhe (8.25) mit der Geschwindigkeit (10)\nend\n\nwhen flag clicked\nset [graviity v] to [0]\nwait (4.2) seconds\nforever\n    repeat until <(reset earth acceleration) = [1]>\n        change [graviity v] by (-0.981)\n        wait (0.01) seconds\n    end\n    set [graviity v] to [0]\nend\n\ndefine Gravity (\@1)\n\nwait (4.1) seconds\nrepeat until <(Level) = [2]>\n    if <not <touching (level1 v)?>> then\n        change y by (Graviity)\n    end\nend\n\ndefine Gravity\n\n@BACKGROUND\n\nwhen I receive [background v]\nrepeat (10)\n    change [brightness v] effect by (-10)\nend\nshow\nrepeat (10)\n    change [brightness v] effect by (10)\nend\n\nwhen I receive [win v]\nhide\nstop [other scripts in sprite v]\n\nwhen I receive [gameover v]\nhide\nstop [other scripts in sprite v]\n\ngo [backward v] (10) layers\n\nwhen flag clicked\nhide\ngo to x: (0) y: (0)\ngo [backward v] (10) layers\n\n@Level1\n\nwhen I receive [gameover v]\nhide\nstop [other scripts in sprite v]\n\nwhen I receive [background v]\nrepeat (10)\n    change [brightness v] effect by (-10)\nend\nshow\nrepeat (10)\n    change [brightness v] effect by (10)\nend\n\nwhen I receive [next level v]\nhide\nstop [other scripts in sprite v]\n\nwhen flag clicked\nhide\n\n@GO1\n\nwhen flag clicked\nset [ghost v] effect to (100)\nshow\n\nwhen I receive [gameover v]\nhide\nstop [other scripts in sprite v]\n\nwhen I receive [win v]\nhide\nstop [other scripts in sprite v]\n\n@Abby\n\nwhen I receive [gameover v]\nhide\nstop [other scripts in sprite v]\n\nwhen I receive [win v]\nhide\nstop [other scripts in sprite v]\n\nwhen flag clicked\nwait until <(Level) = [3]>\nshow\ngo to x: (-127) y: (-39)\nwait until <(Level) = [4]>\ngo to x: (-115) y: (49)\n\n@Abby2\n\nwhen I receive [gameover v]\nhide\nstop [other scripts in sprite v]\n\nwhen I receive [win v]\nhide\nstop [other scripts in sprite v]\n\nwhen flag clicked\nset size to (4) %\ngo to x: (96) y: (33)\nwait until <(Level) = [3]>\nshow\nwait until <(Level) = [4]>\ngo to x: (105) y: (12)\n\n@Abby3\n\nwhen flag clicked\nhide\n\n@Abby4\n\nwhen flag clicked\nhide\n\n@PORTAL\n\nwhen I receive [gameover v]\nhide\nstop [other scripts in sprite v]\n\nwhen flag clicked\nset [ghost v] effect to (100)\nshow\ngo to x: (386) y: (27)\n\nwhen I receive [win v]\nhide\n\nwhen I receive [sppace=end v]\nwait until <key (space v) pressed?>\nstop [other scripts in sprite v]\n\n@Level2\n\nwhen I receive [gameover v]\nhide\nstop [other scripts in sprite v]\n\nwhen I receive [win v]\nhide\nstop [other scripts in sprite v]\n\nwhen flag clicked\nhide\nswitch costume to (kostüm1 v)\nwait until <(Level) = [2]>\ngo to x: (10) y: (-24)\nshow\nwait until <(Level) = [3]>\nswitch costume to (kostüm2 v)\nwait until <(Level) = [4]>\nswitch costume to (kostüm3 v)\n\n@Figur1\n\nwhen flag clicked\nhide\ngo to x: (0) y: (0)\n\nwhen I receive [win v]\nset size to (1) %\nwait (0.3) seconds\nshow\nrepeat (33)\n    change size by (3)\nend\n\n@Ball\n\nwhen I receive [win v]\nset [tok v] to [1]\nif <(Your time) < (☁ record)> then\n    set [☁ record v] to (Your time)\nend\n\nwhen flag clicked\nset [your time v] to [0]\nwait (4) seconds\nset [tok v] to [0]\nrepeat until <(tok) = [1]>\n    wait (1) seconds\n    change [your time v] by (1)\nend\n\n
\n-----------------\n-Ziel ist es auf die andere Seite der Map zu kommen\n-Steuere mit "WASD" oder mit den Pfeilen\n-----------------\n