Nature explorer || A platformer (mobile friendly)

Instructions: WOW Top-loved and top-remixed?!?!?!?!?\nThank you very much =D\nPART 2 IS OUT:\nhttps://scratch.mit.edu/projects/389779047/\n\n-.--.--.--.--.--.--.--.--.--.--.--.--.--.--.--.--.--.--.--.--.--.--.--.--.--.\nHey and welcome to my newest game. Double click green flag to start.\n-.--.--.--.--.--.--.--.--.--.--.--.--.--.--.--.--.--.--.--.--.--.--.--.--.--.\nStory: Welcome to the nature!\nYou are an explorer and you explore the nature. \nBut there are many dangers. \nAvoid all dangers!\n-.--.--.--.--.--.--.--.--.--.--.--.--.--.--.--.--.--.--.--.--.--.--.--.--.--.\nInstructions:\n-Move with arrows or WASD\n-Avoid Spikes and other dangers\n-HAVE FUN\n-Please love, fave and follow\n

@Stage\n\nwhen flag clicked\nforever\n    play sound [TheFatRat - Time Lapse v] until done\nend\n\n@ground\n\nwhen flag clicked\ngo [forward v] (1) layers\nforever\n    switch costume to (LEVEL)\nend\n\n@Sprite2\n\ndefine Platformer physics\nchange [yv v] by (-1)\nif <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(x position) > (mouse x)>>> then\n    change [xv v] by (-1)\nend\nif <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(mouse x) > (x position)>>> then\n    change [xv v] by (1)\nend\nset [xv v] to ((Xv) * (0.9))\nchange x by (Xv)\nif <<touching (ground v)?> or <touching (moving platforms v)?>> then\n    change y by (1)\nend\nif <<touching (ground v)?> or <touching (moving platforms v)?>> then\n    change y by (1)\nend\nif <<touching (ground v)?> or <touching (moving platforms v)?>> then\n    change y by (1)\nend\nif <<touching (ground v)?> or <touching (moving platforms v)?>> then\n    change y by (1)\nend\nif <<touching (ground v)?> or <touching (moving platforms v)?>> then\n    change y by (-4)\n    change x by ((Xv) * (-1))\n    if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > ((y position) + (20))>>> then\n        set [yv v] to [15]\n        if <(Xv) > [0]> then\n            set [xv v] to [-10]\n        else\n            set [xv v] to [10]\n        end\n    end\nend\nchange y by (Yv)\nif <<touching (ground v)?> or <touching (moving platforms v)?>> then\n    change y by ((Yv) * (-1))\n    set [yv v] to [0]\nend\nchange y by (-1)\nif <<<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > ((y position) + (20))>>> and <<touching (ground v)?> or <touching (moving platforms v)?>>> then\n    set [yv v] to [15]\nend\nchange y by (1)\nif <touching (spikes v)?> then\n    go to x: (-180) y: (0)\nend\nif <(y position) < [-180]> then\n    go to x: (-180) y: (0)\nend\nif <(x position) > [220]> then\n    change [level v] by (1)\n    go to x: (-180) y: (0)\nend\nif <touching (trampolins v)?> then\n    set [yv v] to [25]\nend\n\nwhen flag clicked\ngo to x: (107) y: (-83)\nset [level v] to [3]\nswitch costume to (costume1 v)\nforever\n    if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(mouse x) > (x position)>>> then\n        switch costume to (costume1 v)\n    end\n    if <<key (left arrow v) pressed?> or <<key (a v) pressed?> or <<mouse down?> and <(x position) > (mouse x)>>>> then\n        switch costume to (costume2 v)\n    end\nend\n\nwhen flag clicked\n\nwhen I receive [start v]\nset [level v] to [1]\ngo to x: (-180) y: (0)\nforever\n    Platformer physics\nend\n\n@Spikes\n\nwhen flag clicked\nforever\n    if <<(LEVEL) = [5]> or <(LEVEL) = [7]>> then\n        go to x: (19) y: (-104)\n        turn right (9) degrees\n    else\n        point in direction (90)\n    end\nend\n\nwhen flag clicked\nforever\n    switch costume to (LEVEL)\nend\n\nrepeat (20)\n    change [turndegrees v] by (0.5)\nend\n\nrepeat (20)\n    change [turndegrees v] by (-5)\nend\n\nwhen flag clicked\nforever\n    if <(LEVEL) = [10]> then\n        set x to (19)\n        repeat (30)\n            change x by (-10)\n        end\n        repeat (30)\n            change x by (10)\n        end\n    else\n        show\n        set x to (19)\n    end\nend\n\n\n\nwhen flag clicked\nhide\n\n@shadows\n\nwhen flag clicked\nforever\n    go to [back v] layer\n    switch costume to (LEVEL)\n    set [ghost v] effect to (50)\nend\n\n@Figur2\n\nwhen flag clicked\nrepeat (5)\n    create clone of (_myself_ v)\n    wait (1) seconds\nend\n\nwhen I start as a clone\nforever\n    switch costume to (pick random (1) to (4))\n    set size to (pick random (40) to (70)) %\n    go to [back v] layer\n    set [ghost v] effect to (pick random (5) to (20))\n    if <(pick random (1) to (2)) = [1]> then\n        show\n        go to x: (-200) y: (pick random (20) to (180))\n        repeat (80)\n            change x by (5)\n        end\n        hide\n        wait (pick random (1) to (5)) seconds\n    end\n    if <(pick random (1) to (2)) = [2]> then\n        show\n        go to x: (220) y: (pick random (20) to (180))\n        repeat (80)\n            change x by (-7)\n        end\n        hide\n        wait (pick random (1) to (5)) seconds\n    end\nend\n\n@moving platforms\n\nwhen flag clicked\nhide\ngo to x: (36) y: (28)\nforever\n    if <(LEVEL) = [6]> then\n        show\n        repeat (30)\n            change x by (5)\n        end\n        repeat (30)\n            change x by (-5)\n        end\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <(LEVEL) = [6]> then\n        show\n    else\n        hide\n    end\nend\n\n@trampolins\n\nwhen flag clicked\nforever\n    if <touching (sprite2 v)?> then\n        switch costume to (kostüm2 v)\n        wait (0.1) seconds\n    else\n        switch costume to (kostüm1 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(LEVEL) = [8]> then\n        go to x: (-35) y: (-87)\n        show\n    else\n        if <(LEVEL) = [9]> then\n            show\n            set x to (-70)\n        else\n            hide\n        end\n    end\nend\n\nwhen I start as a clone\nforever\n    if <(LEVEL) = [9]> then\n        show\n        set x to (80)\n    else\n        hide\n    end\nend\n\nwhen flag clicked\ncreate clone of (_myself_ v)\n\n@Figur3\n\nwhen flag clicked\nwait (0.2) seconds\nforever\n    if <touching (mouse-pointer v)?> then\n        broadcast (start_idk v)\n        set size to (70) %\n        switch costume to (kostüm2 v)\n        repeat until <not <touching (mouse-pointer v)?>>\n            turn right (15) degrees\n            wait (0.1) seconds\n            turn left (15) degrees\n            wait (0.3) seconds\n        end\n    else\n        set size to (60) %\n        switch costume to (kostüm1 v)\n    end\nend\n\nwhen flag clicked\npoint in direction (90)\nshow\ngo to [front v] layer\n\nwhen this sprite clicked\nbroadcast (start v)\nturn right (15) degrees\nrepeat (2)\n    turn right (15) degrees\n    change size by (-30)\n    change [ghost v] effect by (40)\nend\nhide\n\nwhen I receive [instructions v]\nhide\n\nwhen I receive [instructions_closed v]\nshow\n\n@Figur4\n\nwhen flag clicked\nshow\nforever\n    if <touching (mouse-pointer v)?> then\n        set size to (70) %\n        switch costume to (kostüm2 v)\n        repeat until <not <touching (mouse-pointer v)?>>\n            turn right (15) degrees\n            wait (0.1) seconds\n            turn left (15) degrees\n            wait (0.3) seconds\n        end\n    else\n        set size to (60) %\n        switch costume to (kostüm1 v)\n    end\nend\n\nwhen I receive [start v]\nhide\n\nwhen this sprite clicked\nhide\nbroadcast (instructions v)\n\nwhen I receive [instructions_closed v]\nshow\n\n@nonamedspriteXD\n\nwhen I receive [start v]\n\nwhen flag clicked\nshow\nforever\n    go to x: (mouse x) y: (mouse y)\n    if <touching (figur3 v)?> then\n        go to x: ((mouse x) + (70)) y: ((mouse y) - (20))\n        switch costume to (costume1 v)\n        set [ghost v] effect to (10)\n        go [forward v] (1) layers\n        go to [front v] layer\n        show\n    else\n        if <touching (figur4 v)?> then\n            go to x: ((mouse x) + (70)) y: ((mouse y) - (20))\n            switch costume to (kostüm2 v)\n            set [ghost v] effect to (10)\n            go [forward v] (1) layers\n            go to [front v] layer\n            show\n        else\n            switch costume to (kostüm1 v)\n            set [ghost v] effect to (100)\n        end\n    end\nend\n\nhide\n\nswitch costume to (kostüm1 v)\nset [ghost v] effect to (100)\n\nwhen I receive [intro_finish v]\nshow\n\n@Figur6\n\nwhen I receive [instructions v]\ngo to [front v] layer\ngo [forward v] (1) layers\nshow\nrepeat (10)\n    change size by (12)\nend\nset size to (100) %\nforever\n    if <mouse down?> then\n        repeat (10)\n            change size by (-10)\n        end\n        hide\n        broadcast (instructions_closed v)\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nhide\nset size to (10) %\n\nwhen flag clicked\n\n@Figur8\n\nwhen flag clicked\nswitch costume to (kostüm12 v)\n\nwhen I receive [start v]\nforever\n    switch costume to (LEVEL)\nend\n\n@Figur9\n\nwhen flag clicked\nshow\ngo [backward v] (3) layers\nforever\n    switch costume to (LEVEL)\nend\n\n@Thumbnail\n\nwhen flag clicked\nforever\n    show\n    set [ghost v] effect to (100)\n    go to [front v] layer\nend\n\n