space platformer

Instructions: -Arrow keys   or WSAD\n-Pfeiltasten    oder WSAD\n\nplease like and fave!\n❤ & ⭐\n\nMore plattformers:\nhttps://scratch.mit.edu/projects/483859272/\nhttps://scratch.mit.edu/projects/537492288/ \npls check out!

@Stage\n\nwhen flag clicked\nset [level v] to [1]\nbroadcast (Go v)\nforever\n    switch backdrop to (Level)\nend\n\nwhen flag clicked\nforever\n    play sound [musicfox_physical_dreams v] until done\n    play sound [musicfox_physical_dreams2 v] until done\nend\n\n@Player\n\nwhen flag clicked\nhide\n\nwhen I receive [go v]\nswitch costume to (kostüm1 v)\nshow\ngo to x: (-190) y: (-68)\nrepeat (10)\n    change y by (-7)\nend\ngo to x: (-190) y: (-137)\nset size to (70) %\n\nwhen I receive [go v]\nforever\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nif <(ducken) = [100]> then\n    switch costume to (kostüm2.1 v)\n    repeat (10)\n        change size by (-3)\n        change [ghost v] effect by (15)\n    end\n    delete this clone\nelse\n    switch costume to (kostüm2 v)\n    repeat (10)\n        change size by (-3)\n        change [ghost v] effect by (15)\n    end\n    delete this clone\nend\n\nwhen I receive [go v]\nforever\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        change x by (-3)\n    end\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        change x by (3)\n    end\nend\n\nwhen I receive [go v]\nforever\n    if <<key (w v) pressed?> or <key (up arrow v) pressed?>> then\n        if <touching (plattform v)?> then\n            repeat (10)\n                change y by (7)\n            end\n        end\n    end\nend\n\nwhen I receive [go v]\nforever\n    if <touching (danger v)?> then\n        switch costume to (kostüm1 v)\n        set size to (70) %\n        show\n        go to x: (-190) y: (-68)\n        repeat (10)\n            change y by (-10)\n        end\n    end\nend\n\nwhen I receive [go v]\nforever\n    if <(y position) < [-138]> then\n        set y to (-138)\n    end\nend\n\nwhen I receive [go v]\nforever\n    if <touching (plattform v)?> then\n        set [plattform v] to [100]\n    end\nend\n\nwhen I receive [go v]\nforever\n    if <not <touching (plattform v)?>> then\n        set [plattform v] to [0]\n    end\nend\n\nwhen I receive [go v]\nforever\n    if <(Plattform) = [0]> then\n        repeat until <(Plattform) = [100]>\n            change y by (-3)\n        end\n    end\nend\n\nwhen I receive [go v]\nforever\n    if <touching (the_mega_jump v)?> then\n        repeat (20)\n            change y by (10)\n        end\n    end\nend\n\nwhen I receive [go v]\nforever\n    if <<key (down arrow v) pressed?> or <key (s v) pressed?>> then\n        switch costume to (kostüm1.1 v)\n        set [ducken v] to [100]\n    else\n        switch costume to (kostüm1 v)\n        set [ducken v] to [0]\n    end\nend\n\nwhen I receive [go v]\nforever\n    if <(x position) > [235]> then\n        change [level v] by (1)\n        broadcast (Go v)\n    end\nend\n\nwhen flag clicked\nswitch backdrop to (bühnenbild v)\nset [level v] to [2]\nhide variable [level v]\n\nwhen I receive [go v]\nshow variable [level v]\n\nwhen I receive [go v]\nforever\n    if <(Level) = [10]> then\n        show variable [level v]\n        broadcast (The_End v)\n    end\nend\n\nwhen I receive [the_end v]\nhide\n\nwhen flag clicked\nset [level v] to [1]\nbroadcast (Go v)\nforever\n    switch backdrop to (Level)\nend\n\n@Plattform\n\nwhen flag clicked\nhide variable [level v]\ngo to x: (0) y: (0)\nhide\n\nwhen I receive [go v]\nforever\n    switch costume to (Level)\n    show\nend\n\nwhen I receive [the_end v]\nhide variable [level v]\nshow\nswitch costume to (last v)\nstop [all v]\n\n@Danger\n\nwhen I receive [go v]\nforever\n    switch costume to (Level)\n    show\nend\n\nwhen flag clicked\ngo to x: (0) y: (0)\nhide\n\nwhen I receive [the_end v]\nhide\n\n@The_Mega_Jump\n\nwhen flag clicked\ngo to x: (0) y: (0)\nhide\n\nwhen I receive [go v]\nforever\n    switch costume to (Level)\n    show\nend\n\nwhen I receive [the_end v]\nhide\n\n@Figur1\n\nwhen flag clicked\nset size to (70) %\nhide\n\nwhen I start as a clone\nset [ghost v] effect to (30)\ngo to [front v] layer\nswitch costume to (cursor v)\ngo to x: (0) y: (0)\nglide (1) secs to x: (170) y: (-170)\nplay sound [click v] until done\nglide (0.5) secs to x: (210) y: (-170)\nplay sound [click v] until done\nwait (0.3) seconds\ndelete this clone\n\nwhen flag clicked\nforever\n    set [ghost v] effect to (30)\n    go to [front v] layer\n    switch costume to (grey v)\n    go to x: (55) y: (-55)\n    show\n    create clone of (_myself_ v)\n    wait (1.27) seconds\n    switch costume to (heart red v)\n    wait (0.8) seconds\n    switch costume to (heart + star  v)\n    wait (0.5) seconds\n    switch costume to (heart + star 2 v)\n    wait (1.5) seconds\n    hide\n    wait (60) seconds\nend\n\n