(DARK!) 2 (Mobile Friendly Platformer)

Instructions: Welcome to (DARK!) 2 a mobile friendly platformer.\n\nNew Game: Halloween Clicker \nhttps://scratch.mit.edu/projects/740884198\n\nSummer (A platformer) (SHOUTOUT) (Day 1 fan)\nhttps://scratch.mit.edu/projects/528494683\n\n(Dark!) 3\nhttps://scratch.mit.edu/projects/620002286\n\n(Dark) Colorified (If you play spam green button until on level 1 because its glitched)\nhttps://scratch.mit.edu/projects/620102461/\n\nPart 1: https://scratch.mit.edu/projects/614966609\n\nIf you want to make something for a future platformer made by me with full credit https://scratch.mit.edu/projects/617422412 (Make a tree pls) I'm gonna do a forest platformer.\n\n▶ I need ideas for new updates or games!\n▶ If you enjoy please Like, Favorite, or Follow for more!\n▶ Comment any bugs or glitches and i'll fix them.\n▶ NO F4F!\n▶ You are allowed to remix.

@Stage\n\n@Player\n\nwhen flag clicked\nstart sound [Inferno v]\n\nwhen flag clicked\nshow\nset [x velocity v] to [0]\nset [y velocity v] to [0]\ngo to x: (-214) y: (-90)\nforever\n    if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(mouse x) > (x position)>>> then\n        change [x velocity v] by (1)\n    end\n    if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(x position) > (mouse x)>>> then\n        change [x velocity v] by (-1)\n    end\n    set [x velocity v] to ((x velocity) * (.9))\n    change x by (x velocity)\n    if <touching (level v)?> then\n        change y by (1)\n        if <touching (level v)?> then\n            change y by (1)\n            if <touching (level v)?> then\n                change y by (1)\n                if <touching (level v)?> then\n                    change y by (1)\n                    if <touching (level v)?> then\n                        change y by (1)\n                        if <touching (level v)?> then\n                            change x by ((x velocity) * (-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 <(x velocity) > [0]> then\n                                    set [x velocity v] to [-5]\n                                else\n                                    set [x velocity v] to [5]\n                                end\n                                set [y velocity v] to [10]\n                            else\n                                set [x velocity v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [y velocity v] by (-1)\n    change y by (y velocity)\n    if <touching (level v)?> then\n        change y by ((y velocity) * (-1))\n        set [y velocity v] to [0]\n    end\n    change y by (-1)\n    if <touching (level v)?> then\n        if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> then\n            change [y velocity v] by (15)\n        end\n    end\n    change y by (1)\n    if <(x position) > [160]> then\n        change [level v] by (1)\n        set [x velocity v] to [0]\n        set [y velocity v] to [0]\n        go to x: (-214) y: (-91)\n    end\nend\n\nwhen flag clicked\nif <touching (level v)?> then\n    change x by ((x velocity) * (-1))\n    change y by (-5)\nend\n\nwhen flag clicked\nforever\n    if <touching (spikes v)?> then\n        go to x: (-214) y: (-97)\n    else\n        go to x: (x position) y: (y position)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [10]> then\n        forever\n            set [level v] to [10]\n        end\n    end\nend\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 (10)\nend\ndelete this clone\n\n@Level\n\nwhen flag clicked\ngo to x: (0) y: (0)\nset [level v] to [1]\nforever\n    switch costume to (Level)\nend\n\nwhen flag clicked\ngo to [back v] layer\n\n@Spikes\n\nwhen flag clicked\nforever\n    switch costume to (Level)\n    go to [back v] layer\nend\n\nwhen flag clicked\nset [level v] to [1]\n\n@Thumbnail\n\nwhen flag clicked\ngo to [back v] layer\nset [ghost v] effect to (100)\n\n@Skip Button\n\nwhen this sprite clicked\nchange [level v] by (1)\n\n@Text 1\n\nwhen flag clicked\nshow\nwait (0.001) seconds\nrepeat until <(costume [number v]) = [26]>\n    wait (0.03) seconds\n    next costume\nend\n\nwhen flag clicked\nswitch costume to (costume1 v)\n\nwhen flag clicked\nforever\n    if <[1] < (Level)> then\n        hide\n    end\nend\n\n