Climate Change Platformer

Instructions: Climate change has serious consequences for our planet!\nBut it's not too late! Some tips on how to protect the climate can be seen in the game!\n\nYou can find more information about the climate change here:\n\nhttps://friendsoftheearth.uk/climate-change/saving-planet-top-tips-help-climate-and-nature\n\nhttps://www.edenproject.com/make-the-change/what-you-can-do/11-tips-for-fighting-climate-change-and-biodiversity\n\nhttps://www.curbed.com/2017/6/7/15749900/how-to-stop-climate-change-actions

@Stage\n\nwhen flag clicked\nforever\n    switch backdrop to (Level)\nend\n\n@Level\n\nwhen flag clicked\nset [level v] to [1]\ngo to x: (0) y: (0)\ngo to [back v] layer\nswitch costume to (dungeon v)\nshow\nforever\n    switch costume to (Level)\nend\n\n@Player\n\ndefine Laufsteuerung\nswitch costume to (kinetic body v)\nif <not <<<key (right arrow v) pressed?> or <key (d v) pressed?>> and <<key (left arrow v) pressed?> or <key (a v) pressed?>>>> then\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        point in direction (90)\n        change [costume v] by (0.3)\n        change x by (walk speed)\n        if <touching (level v)?> then\n            change x by (() - (walk speed))\n        end\n    end\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        point in direction (-90)\n        change [costume v] by (0.3)\n        change x by (() - (walk speed))\n        if <touching (level v)?> then\n            change x by (walk speed)\n        end\n    end\n    if <(costume) > [8]> then\n        set [costume v] to [1]\n    end\nend\nswitch costume to (costume)\n\ndefine Sprungsteuerung\nif <<key (space v) pressed?> or <<key (up arrow v) pressed?> or <key (w v) pressed?>>> then\n    switch costume to (kinetic body v)\n    change y by (-3)\n    if <<touching (level v)?> or <touching (figur3 v)?>> then\n        set [y speed v] to (jumping force)\n    end\n    change y by (3)\nend\nswitch costume to (costume)\n\ndefine Simulation\nswitch costume to (kinetic body v)\nchange y by (y speed)\nif <touching color (#df0000)?> then\n    go to x: (-200) y: (-130)\nend\nif <<touching (level v)?> or <touching (figur3 v)?>> then\n    if <(y speed) < [0]> then\n        set [back v] to [1]\n    else\n        set [back v] to [-1]\n    end\n    repeat until <not <<touching (level v)?> or <touching (figur3 v)?>>>\n        change y by (back)\n    end\n    set [y speed v] to [-1]\nelse\n    change [y speed v] by (Gravity)\nend\nswitch costume to (costume)\n\nwhen flag clicked\nshow\ngo to [front v] layer\nset size to (50) %\npoint in direction (90)\nset rotation style [left-right v]\ngo to x: (-175) y: (0)\nset [costume v] to [1]\nset [back v] to [-1]\nset [walk speed v] to [6.5]\nset [gravity v] to [-1]\nset [y speed v] to [0]\nset [jumping force v] to [16]\nforever\n    Laufsteuerung\n    Sprungsteuerung\n    Simulation\n    if <(Level) < [18]> then\n        if <(x position) > [235]> then\n            change [level v] by (1)\n            go to x: (-175) y: (-25)\n        end\n    end\n    if <(Level) > [1]> then\n        if <(x position) < [-235]> then\n            change [level v] by (-1)\n            go to x: (175) y: (-25)\n        end\n    end\n    if <(y position) < [-240]> then\n        go to x: (-175) y: (-25)\n    end\nend\n\n@Thumbnail\n\nwhen flag clicked\nhide\n\nshow\ngo to [front v] layer\n\n