Sunny || mobile friendly Platformer
@Stage\n\nwhen I receive [intro fertig! v]\nstop all sounds\nforever\n    if <(Level) > [9]> then\n        set volume to (0) %\n    else\n        set volume to (100) %\n    end\nend\n\nwhen I receive [intro fertig! v]\nforever\n    play sound [Musik v] until done\nend\n\nwhen flag clicked\nforever\n    reset timer\nend\n\nwhen [timer v] > (0.1)\nhide variable [time v]\nhide variable [☁ best time v]\n\n@Figur\n\nwhen flag clicked\nforever\n    if <<<mouse down?> and <<(mouse x) < (x position)> and <(y position) > (mouse y)>>> or <<<key (left arrow v) pressed?> and <not <key (right arrow v) pressed?>>> and <not <key (up arrow v) pressed?>>>> then\n        switch costume to (links v)\n    else\n        if <<<mouse down?> and <<(x position) < (mouse x)> and <(y position) > (mouse y)>>> or <<<key (right arrow v) pressed?> and <not <key (left arrow v) pressed?>>> and <not <key (up arrow v) pressed?>>>> then\n            switch costume to (rechts v)\n        else\n            if <<<<mouse down?> and <(round (x position)) = (round (mouse x))>> and <(y position) < (mouse y)>> or <<<key (up arrow v) pressed?> and <not <key (left arrow v) pressed?>>> and <not <key (right arrow v) pressed?>>>> then\n                switch costume to (oben v)\n            else\n                if <<<mouse down?> and <<(mouse y) > (y position)> and <(x position) > (mouse x)>>> or <<<key (left arrow v) pressed?> and <not <key (right arrow v) pressed?>>> and <key (up arrow v) pressed?>>> then\n                    switch costume to (obenlinks v)\n                else\n                    if <<<mouse down?> and <<(mouse y) > (y position)> and <(mouse x) > (x position)>>> or <<<key (right arrow v) pressed?> and <not <key (left arrow v) pressed?>>> and <key (up arrow v) pressed?>>> then\n                        switch costume to (obenrechts v)\n                    else\n                        switch costume to (normal v)\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen flag clicked\ngo to x: (-200) y: (-30)\nforever\n    if <<key (right arrow v) pressed?> or <<mouse down?> and <(mouse x) > (x position)>>> then\n        change x by (7)\n    end\n    if <<key (left arrow v) pressed?> or <<mouse down?> and <(x position) > (mouse x)>>> then\n        change x by (-7)\n    end\nend\n\nwhen flag clicked\nforever\n    if <<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > (y position)>>> then\n        repeat (10)\n            change y by (10)\n        end\n        repeat until <touching (platform v)?>\n            change y by (-6)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(x position) > [220]> then\n        change [level v] by (1)\n        go to x: (-200) y: (-30)\n        repeat until <touching (platform v)?>\n            change y by (-5)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (platform v)?> then\n        change y by (3)\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <not <touching (platform v)?>> then\n        change y by (-3)\n    end\nend\n\nwhen flag clicked\nforever\n    if <<touching color (#ffffff)?> and <touching (trampolin v)?>> then\n        broadcast (Trampolin v)\n        repeat (9)\n            if <(Level) = [5]> then\n                change y by (32)\n            else\n                change y by (20)\n            end\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nswitch costume to (klon v)\nwait (0.2) seconds\nrepeat (5)\n    change [ghost v] effect by (20)\nend\ndelete this clone\n\nwhen I start as a clone\nwait until <(Level) > [9]>\ndelete this clone\n\nwhen I receive [intro fertig! v]\ngo to x: (-200) y: (-30)\nshow\nset [level v] to [1]\nrepeat until <touching (platform v)?>\n    change y by (-5)\nend\nrepeat until <(Level) > [9]>\n    if <<touching (schon wieder tot!2 v)?> or <<<touching (danger v)?> or <touching (auch der tot! v)?>> or <touching (schon wieder tot! v)?>>> then\n        start sound [Pew v]\n        go to x: (-200) y: (-30)\n        repeat until <touching (platform v)?>\n            change y by (-5)\n        end\n    end\nend\nhide\n\n@Platform\n\nwhen flag clicked\nhide\n\nwhen I receive [intro fertig! v]\nshow\nrepeat until <(Level) > [9]>\n    switch costume to (Level)\nend\nhide\n\n@Danger\n\nwhen flag clicked\nhide\n\nwhen I receive [intro fertig! v]\nshow\ngo to x: (0) y: (-75)\nrepeat until <(Level) > [9]>\n    go to [back v] layer\n    switch costume to (Level)\nend\nhide\n\n@Thumbnail\n\nwhen flag clicked\nset [ghost v] effect to (100)\nforever\n    go to [front v] layer\nend\n\n@Leveltext\n\nwhen flag clicked\nhide\n\nwhen I receive [intro fertig! v]\nshow\nrepeat until <(Level) > [9]>\n    switch costume to (Level)\nend\nhide\n\n@Trampolin\n\nwhen flag clicked\nset [level v] to [1]\nswitch costume to (unbenutzt v)\nforever\n    if <<(Level) = [5]> or <(Level) = [9]>> then\n        show\n    else\n        hide\n    end\nend\n\nwhen I receive [trampolin v]\nstart sound [Big Boing v]\nswitch costume to (benutzt v)\nwait (0.7) seconds\nswitch costume to (unbenutzt v)\n\n@Auch der tot!\n\nwhen flag clicked\nforever\n    if <(Level) = [6]> then\n        show\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    glide (2) secs to x: (0) y: (186)\n    glide (0.5) secs to x: (0) y: (-75)\nend\n\n@Schon wieder tot!\n\nwhen flag clicked\ngo to x: (-100) y: (-110)\nforever\n    go to [back v] layer\n    turn left (5) degrees\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [7]> then\n        show\n    else\n        hide\n    end\nend\n\n@Schon wieder tot!2\n\nwhen flag clicked\ngo to x: (100) y: (-110)\nforever\n    go to [back v] layer\n    turn left (-5) degrees\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [7]> then\n        show\n    else\n        hide\n    end\nend\n\n@Endauswertugen\n\nwhen flag clicked\ngo to [front v] layer\nhide\nhide variable [time v]\nhide variable [☁ best time v]\n\nwhen I receive [intro fertig! v]\ngo to [front v] layer\nhide\nhide variable [time v]\nhide variable [☁ best time v]\nset [time v] to [0]\nwait (1) seconds\nrepeat until <(Level) > [9]>\n    change [time v] by (1)\n    wait (1) seconds\nend\nif <(Time) < (☁ Best Time)> then\n    set [☁ best time v] to (Time)\nend\nplay sound [Drum Roll v] until done\nshow\nshow variable [time v]\nshow variable [☁ best time v]\nplay sound [Triumph v] until done\n\n@Yes\n\nwhen flag clicked\nhide\nforever\n    if <touching (mouse-pointer v)?> then\n        set size to (110) %\n        if <mouse down?> then\n            set [level v] to [1]\n            broadcast (Intro fertig! v)\n        end\n    else\n        point in direction (90)\n        set size to (90) %\n    end\nend\n\nwhen I receive [intro fertig! v]\nhide\nwait (1) seconds\nwait until <(Level) > [9]>\nwait (3) seconds\nshow\ngo to [front v] layer\n\n@No\n\nwhen flag clicked\nhide\nforever\n    if <<touching (mouse-pointer v)?> and <(Level) > [9]>> then\n        set size to (110) %\n        if <mouse down?> then\n            hide variable [☁ best time v]\n            hide variable [time v]\n            stop [all v]\n        end\n    else\n        point in direction (90)\n        set size to (90) %\n    end\nend\n\nwhen I receive [intro fertig! v]\nhide\nwait (1) seconds\nwait until <(Level) > [9]>\nwait (3) seconds\nshow\ngo to [front v] layer\n\n@Severus Snape\n\nwhen flag clicked\nshow\ngo to x: (0) y: (0)\nstart sound [Odesong v]\nwait (1) seconds\nglide (0.25) secs to x: (40) y: (40)\nglide (0.25) secs to x: (0) y: (0)\nglide (0.25) secs to x: (-40) y: (40)\nglide (0.25) secs to x: (0) y: (0)\nbroadcast (Nachricht1 v)\n\nwhen I receive [intro fertig! v]\nhide\n\n@Fan\n\nwhen I receive [nachricht2 v]\nwait (0.5) seconds\nshow\nwait (0.5) seconds\nrepeat (4)\n    move (17) steps\nend\nbroadcast (Nachricht3 v)\n\nwhen I receive [nachricht4 v]\nwait (1) seconds\nglide (1) secs to x: (48) y: (-150)\nwait (3) seconds\nbroadcast (Intro fertig! v)\n\nwhen flag clicked\nhide\ngo to x: (-125) y: (-150)\n\nwhen I receive [intro fertig! v]\nhide\n\n@64\n\nwhen I receive [nachricht1 v]\nshow\nglide (0.5) secs to x: (0) y: (-125)\nbroadcast (Nachricht2 v)\n\nwhen I receive [nachricht3 v]\nglide (1) secs to x: (200) y: (-125)\nhide\nbroadcast (Nachricht4 v)\n\nwhen flag clicked\ngo to x: (188) y: (145)\nhide\n\nwhen I receive [intro fertig! v]\nhide\n\n
Try to get to the right without dying using the arrow keys!\n\n___________________________________________________\n\nVersuche mit den Pfeiltasten nach rechts zu gelangen, ohne zu sterben!