Panda! A fact Platformer Mobile Friendly

Instructions: THANKS FOR 113 LOVES!\nEDIT EDIT: Part 2 coming soon!\nLove?\nNew Platformer!\nhttps://scratch.mit.edu/projects/415617059/\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nPress "up up down down left right left right b a"\nFor a easter egg

@Stage\n\nwhen flag clicked\nswitch backdrop to (intro v)\nclear graphic effects\nswitch backdrop to (intro v) and wait\nwait (13) seconds\nset [level v] to [1]\nforever\n    switch backdrop to (Level)\nend\n\nwhen I receive [new theme v]\nchange [color v] effect by (25)\nwait (60) seconds\nclear graphic effects\n\n@Player\n\ndefine Place Player: (x) (y) Set Size To: (size)\ngo to x: (x) y: (y)\nset size to (size) %\n\nwhen flag clicked\nhide variable [deaths v]\nhide\nwait (13) seconds\nset [level v] to [1]\nset [deaths v] to [0]\nshow variable [deaths v]\nshow\nswitch costume to (pandaicon v)\nPlace Player: [-173] [-122] Set Size To: [40]\nhide variable [y v]\nhide variable [x v]\nset [y v] to [0]\nset [x v] to [0]\nforever\n    Gravity, Platform Detection, Physics....\n    Jumping test\nend\n\ndefine Gravity, Platform Detection, Physics....\nforever\n    change [y v] by (-1)\n    if <<<key (a v) pressed?> or <key (left arrow v) pressed?>> or <<mouse down?> and <(mouse x) < (x position)>>> then\n        change [x v] by (-1)\n    end\n    if <<<key (d v) pressed?> or <key (right arrow v) pressed?>> or <<mouse down?> and <(mouse x) > (x position)>>> then\n        change [x v] by (1)\n    end\n    set [x v] to ((x) * (0.9))\n    change x by (x)\n    if <touching (level v)?> then\n        change y by (1)\n    end\n    if <touching (level v)?> then\n        change y by (1)\n    end\n    if <touching (level v)?> then\n        change y by (1)\n    end\n    if <touching (level v)?> then\n        change y by (1)\n    end\n    if <touching (level v)?> then\n        change y by (-4)\n        change x by ((x) * (-1))\n        if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > [0]>>> then\n            set [y v] to [17]\n            if <(x) > [0]> then\n                set [x v] to [-10]\n            else\n                set [x v] to [10]\n            end\n        else\n            set [x v] to [0]\n        end\n    end\n    change y by (y)\n    if <touching (level v)?> then\n        change y by ((y) - ((y) * (2)))\n        set [y v] to [0]\n    end\n    change y by (-1)\n    if <<<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <((mouse y) - (y position)) > [50]>>> and <touching (level v)?>> then\n        set [y v] to [15]\n    end\n    change y by (1)\n    if <<<touching (obstacles v)?> or <(y position) < [-175]>> or <key (r v) pressed?>> then\n        Place Player: [-173] [-122] Set Size To: [40]\n        change [deaths v] by (1)\n    end\n    if <(x position) > [230]> then\n        change [level v] by (1)\n        Place Player: [-173] [-122] Set Size To: [40]\n    end\n    if <touching (tramp v)?> then\n        set [y v] to [20]\n    end\n    if <touching color (#2ba16f)?> then\n        set [x v] to [20]\n    end\n    if <touching color (#522ba1)?> then\n        set [x v] to [-20]\n    end\n    if <key (down arrow v) pressed?> then\n        switch costume to (pandaicon down v)\n    else\n        switch costume to (pandaicon v)\n    end\nend\n\nif <(username) = [panda-hat]> then\n    if <key (s v) pressed?> then\n        change [level v] by (1)\n    end\nend\n\nwhen [s v] key pressed\nchange [level v] by (1)\nbroadcast (skip disable timer v)\n\ndefine Jumping test\nforever\n    if <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<mouse down?> and <(mouse y) > [0]>>>> then\n        set [y v] to [17]\n        if <(x) > [0]> then\n            set [x v] to [-10]\n        else\n            set [x v] to [10]\n        end\n    else\n        set [x v] to [0]\n    end\n    if <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<mouse down?> and <<((mouse y) - (y position)) > [50]> and <touching (level v)?>>>>> then\n        set [y v] to [15]\n    end\nend\n\nwhen I receive [crouch v]\nswitch costume to (pandaicon down v)\n\n@Obstacles\n\nwhen flag clicked\nswitch costume to (intro v)\nwait (13) seconds\nforever\n    switch costume to (Level)\nend\n\ngo to (tramp v)\n\ngo to (tramp v)\n\n@TN\n\nwhen flag clicked\nforever\n    go to x: (0) y: (0)\n    go to [front v] layer\n    set [ghost v] effect to (100)\nend\n\n@Tramp\n\nwhen flag clicked\nhide\nwait (13) seconds\nshow\nswitch costume to (1 v)\nforever\n    switch costume to (Level)\nend\n\n@boosts\n\nwhen flag clicked\nhide\nswitch costume to (start v)\nwait (13) seconds\nshow\nforever\n    switch costume to (Level)\nend\n\n@Sound\n\nwhen flag clicked\nwait (13) seconds\nforever\n    play sound [pop v] until done\nend\n\nwhen [m v] key pressed\nif <(volume) = [100]> then\n    set volume to (0) %\nelse\n    set volume to (100) %\nend\n\n@Intro\n\nwhen flag clicked\nrepeat (200)\n    create clone of (_myself_ v)\nend\n\nwhen flag clicked\nswitch costume to (color v)\nshow\ngo to x: (120) y: (40)\nglide (0.5) secs to x: (120) y: (-350)\nchange [color v] effect by (4)\ngo to x: (200) y: (40)\nglide (0.5) secs to x: (200) y: (-350)\nchange [color v] effect by (4)\ngo to x: (280) y: (40)\nglide (0.5) secs to x: (280) y: (-350)\nchange [color v] effect by (4)\ngo to x: (360) y: (40)\nglide (0.5) secs to x: (360) y: (-350)\nchange [color v] effect by (4)\ngo to x: (440) y: (40)\nglide (0.5) secs to x: (440) y: (-350)\nchange [color v] effect by (4)\ngo to x: (520) y: (40)\nglide (0.5) secs to x: (520) y: (-400)\n\nwhen flag clicked\nplay sound [recording1 v] until done\nstop [other scripts in sprite v]\n\nwhen I start as a clone\nwait (5) seconds\ndelete this clone\n\nwhen flag clicked\nwait (9.5) seconds\nswitch costume to (panda v)\nclear graphic effects\ngo to x: (0) y: (0)\nturn right (15) degrees\nwait (0.3) seconds\nturn left (15) degrees\nwait (0.3) seconds\nturn left (15) degrees\nwait (0.3) seconds\nturn right (15) degrees\nwait (0.3) seconds\nset size to (90) %\nwait (0.3) seconds\nset size to (80) %\nwait (0.3) seconds\nset size to (100) %\nwait (0.5) seconds\nhide\n\n@Sparkles\n\nwhen flag clicked\n\nswitch costume to (3 v)\nforever\n    create clone of (_myself_ v)\n    next costume\nend\n\nwhen I start as a clone\nglide (0) secs to x: ((mouse x) + (pick random (1) to (20))) y: ((mouse y) + (pick random (1) to (20)))\nwait (0.2) seconds\ndelete this clone\n\nwhen flag clicked\nforever\n    glide (0) secs to (mouse-pointer v)\nend\n\nwhen flag clicked\nchange [ghost v] effect by (50)\nforever\n    change [color v] effect by (1)\nend\n\n@Timer\n\nwhen flag clicked\nhide variable [☁ world highscore v]\nhide variable [timer v]\nwait (13) seconds\nshow variable [timer v]\nforever\n    wait (1) seconds\n    change [timer v] by (1)\nend\n\nwhen flag clicked\nforever\n    if <(backdrop [number v]) = [19]> then\n        show variable [☁ world highscore v]\n        show variable [☁ least deaths v]\n        stop [other scripts in sprite v]\n    end\nend\n\nif <(☁ World Highscore) < (Timer)> then\n    set [☁ world highscore v] to (Timer)\nend\n\nif <(☁ World Highscore) < (Timer)> then\n    set [☁ world highscore v] to (Timer)\nend\n\n@Clooud\n\nwhen flag clicked\nwait (13) seconds\nset [timer v] to [0]\nforever\n    if <(backdrop [name v]) = [19]> then\n        if <(Timer) < (☁ World Highscore)> then\n            set [☁ world highscore v] to (Timer)\n        end\n    end\nend\n\nwhen I receive [skip disable timer v]\nstop [other scripts in sprite v]\n\nwhen flag clicked\nhide variable [☁ least deaths v]\nwait (13) seconds\nset [deaths v] to [0]\nforever\n    if <(backdrop [name v]) = [19]> then\n        if <(Deaths) < (☁ Least Deaths)> then\n            set [☁ least deaths v] to (Deaths)\n        end\n    end\nend\n\n@Level\n\nwhen flag clicked\nhide\nwait (13) seconds\nshow\nforever\n    switch costume to (Level)\nend\n\n@Crouch Button\n\nwhen flag clicked\ngo to x: (-200) y: (-150)\nset drag mode [draggable v]\npoint in direction (90)\nhide\nwait (12.5) seconds\nshow\ngo to [front v] layer\nforever\n    repeat (30)\n        turn right (1) degrees\n    end\n    repeat (30)\n        turn left (1) degrees\n    end\n    repeat (30)\n        turn left (1) degrees\n    end\n    repeat (30)\n        turn right (1) degrees\n    end\nend\n\nwhen flag clicked\nforever\n    if <<touching (mouse-pointer v)?> and <mouse down?>> then\n        broadcast (Crouch v)\n    else\n        broadcast (Stop Crouching v)\n    end\nend\n\n@Skip Button\n\nwhen flag clicked\nset size to (100) %\nhide\nwait (12.5) seconds\ngo to [front v] layer\nshow\nforever\n    repeat (10)\n        change size by (1)\n    end\n    wait (5) seconds\n    repeat (10)\n        change size by (-1)\n    end\nend\n\nwhen this sprite clicked\nchange [level v] by (1)\nbroadcast (skip disable timer v)\n\n