Adventure platformer mobile friendly

Instructions: Part 2: https://scratch.mit.edu/projects/651628421/\n2 days of hard work and now is the result for my first platformer\nStory: You were go adventure about training lesson\n100% possible\nControl:\n- Use arrow key and WASD to move\n- R to restart\nDid you see love and fave button? Please hit it, it mean alot to me!\n20 love and fave to part 2\n

@Stage\n\nwhen flag clicked\nforever\n    play sound [TheFatRat - Xenogenesis v] until done\nend\n\n@Player\n\nwhen flag clicked\nset size to (100) %\ngo to x: (-197) y: (-90)\nshow\ngo to [front v] layer\ngo [backward v] (1) layers\n\nwhen I receive [next level v]\ngo to x: (-177) y: (-100)\n\nwhen flag clicked\nforever\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nrepeat (10)\n    change [ghost v] effect by (12)\nend\ndelete this clone\n\nwhen flag clicked\nforever\n    if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(mouse x) > [5]>>> then\n        change [xv v] by (0.75)\n        switch costume to (costume2 v)\n    else\n        switch costume to (costume1 v)\n    end\n    if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(mouse x) < [-5]>>> then\n        change [xv v] by (-0.75)\n        switch costume to (costume6 v)\n    end\n    set [xv v] to ((xV) * (0.9))\n    change x by (xV)\n    if <touching (base v)?> then\n        change y by (1)\n        if <touching (base v)?> then\n            change y by (1)\n            if <touching (base v)?> then\n                change y by (1)\n                if <touching (base v)?> then\n                    change y by (1)\n                    if <touching (base v)?> then\n                        change y by (1)\n                        if <touching (base v)?> then\n                            change x by ((xV) * (-1))\n                            change y by (-5)\n                            if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> then\n                                if <(xV) > [0]> then\n                                    set [xv v] to [-5]\n                                else\n                                    set [xv v] to [5]\n                                end\n                                set [yv v] to [13]\n                            else\n                                set [xv v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [yv v] by (-1)\n    change y by (yV)\n    if <touching (base v)?> then\n        change y by ((yV) * (-1))\n        set [yv v] to [0]\n    end\n    change y by (-1)\n    if <touching (base v)?> then\n        if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> then\n            switch costume to (costume4 v)\n            set [yv v] to [15]\n        end\n        change y by (1)\n    end\n    if <(x position) = [243]> then\n        broadcast (Next Level v)\n    end\n    if <touching (trampoline v)?> then\n        set [yv v] to [18]\n    end\n    if <touching (move v)?> then\n        set [yv v] to [0]\n        set [xv v] to [18]\n    end\n    if <key (r v) pressed?> then\n        go to x: (-197) y: (-90)\n    end\n    if <touching (danger thing v)?> then\n        repeat (10)\n            change size by (-10)\n        end\n        go to x: (-197) y: (-90)\n        set size to (100) %\n        set [xv v] to [0]\n    end\n    if <(y position) = [-187]> then\n        repeat (10)\n            change size by (-10)\n        end\n        go to x: (-197) y: (-90)\n        set size to (100) %\n    end\n    if <(y position) < [-187]> then\n        repeat (10)\n            change size by (-10)\n        end\n        go to x: (-197) y: (-90)\n        set size to (100) %\n    end\nend\n\nwhen flag clicked\nforever\n    if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> then\n        switch costume to (costume4 v)\n    end\n    if <<<key (right arrow v) pressed?> and <key (up arrow v) pressed?>> or <<<key (d v) pressed?> and <key (w v) pressed?>> or <<mouse down?> and <<(mouse y) > (y position)> and <(mouse x) > [5]>>>>> then\n        switch costume to (costume3 v)\n    end\n    if <<<key (left arrow v) pressed?> and <key (up arrow v) pressed?>> or <<<key (a v) pressed?> and <key (w v) pressed?>> or <<mouse down?> and <<(mouse y) > (y position)> and <(mouse x) < [-5]>>>>> then\n        switch costume to (costume5 v)\n    end\n    if <<key (down arrow v) pressed?> or <key (s v) pressed?>> then\n        switch costume to (costume7 v)\n    end\nend\n\n@Base\n\nwhen flag clicked\nshow\nswitch costume to (costume1 v)\n\nwhen I receive [next level v]\nnext costume\n\n@Thumnail\n\nwhen flag clicked\nshow\ngo to [front v] layer\nset [ghost v] effect to (100)\n\n@Danger thing\n\nwhen flag clicked\nshow\nswitch costume to (costume1 v)\n\nwhen I receive [next level v]\nnext costume\n\n@Trampoline\n\nwhen flag clicked\nshow\nswitch costume to (costume1 v)\n\nwhen I receive [next level v]\nnext costume\n\n@Love fave\n\nwhen flag clicked\nset [costume v] to [0]\nhide\nforever\n    if <not <<(Love) = [1]> and <(Favorite) = [1]>>> then\n        wait (pick random (30) to (40)) seconds\n        switch costume to (costume1 v)\n        go to x: (0) y: (50)\n        show\n        go to [front v] layer\n        start sound [pop v]\n        repeat (9)\n            change y by (-6)\n        end\n        repeat (5)\n            change y by (3)\n        end\n        repeat (5)\n            change y by (-1)\n        end\n        wait (2) seconds\n        repeat (15)\n            change y by (7)\n        end\n        hide\n    end\n    if <(Costume) > [0]> then\n        hide\n        stop [this script v]\n    end\nend\n\n@Clouds\n\nwhen flag clicked\nhide\nset rotation style [left-right v]\nswitch costume to (big v)\nset x to (280)\nCreate Cloud\n\nwhen I start as a clone\nshow\nswitch costume to (pick random (1) to (5))\nset [costume v] to (costume [number v])\nset [ghost v] effect to (pick random (20) to (30))\nset y to (pick random (80) to (180))\nset [sx v] to (pick random (3.) to (5.))\nrepeat ((600) / (sx))\n    go to [front v] layer\n    switch costume to (big v)\n    change x by ((-1) * (sx))\n    switch costume to (costume)\nend\ndelete this clone\n\nwhen I receive [next level v]\nif <(Level) = [4]> then\n    stop [other scripts in sprite v]\n    delete this clone\nend\n\ndefine Create Cloud\nforever\n    switch costume to (big v)\n    create clone of (_myself_ v)\n    wait (pick random (1.) to (2.)) seconds\nend\n\n@Sprite1\n\nwhen flag clicked\ngo to x: (-340) y: (-273)\n\nwhen this sprite clicked\nbroadcast (Next Level v)\n\n