The Fog -  A Mobile Platformer

Instructions: SEQUEL OUT NOW: https://scratch.mit.edu/projects/387856759\nALL LEVELS ARE 100% POSSIBLE!!!\nThis was sooooo tedious and hard to make, so a love and fave would be greatly appreciated. \nIT IS NOW MOBILE YAY! To shrink in mobile you need to press the character\n17 (hopefully) fun levels!\nArrow keys\nR to restart \nM to mute, N to play the music again\nDon't touch the text, it will kill you (that's on purpose)\nIf you want an extra challenge i guess you could try to speedrun it, but there is no timer so...

@Stage\n\n@Sprite1\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\nset [xv v] to [0]\nset [yv v] to [0]\ngo to x: (-231) y: (-121)\n\nwhen flag clicked\nforever\n    change [yv v] by (-1)\n    if <<key (right arrow v) pressed?> or <<mouse down?> and <(mouse x) > (x position)>>> then\n        change [xv v] by (1)\n    end\n    if <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>> then\n        change [xv v] by (-1)\n    end\n    set [xv v] to ((xv) * (0.9))\n    change x by (xv)\n    if <touching color (#9a9a9a)?> then\n        change y by (1)\n        if <touching color (#9a9a9a)?> then\n            change y by (1)\n            if <touching color (#9a9a9a)?> then\n                change y by (1)\n                if <touching color (#9a9a9a)?> then\n                    change y by (1)\n                    if <touching color (#9a9a9a)?> then\n                        change y by (1)\n                        change x by ((xv) * (-1))\n                        change y by (-5)\n                    end\n                end\n            end\n        end\n    end\n    change y by (yv)\n    if <touching color (#9a9a9a)?> then\n        change y by ((yv) * (-1))\n        set [yv v] to [0]\n    end\n    change y by (-1)\n    if <touching color (#9a9a9a)?> then\n        if <<key (up arrow v) pressed?> or <<mouse down?> and <((mouse y) - (y position)) > [50]>>> then\n            set [yv v] to [13]\n        end\n    end\n    change y by (1)\n    \n        glide (1) secs to x: (-231) y: (-134)\n        next backdrop\n    end\nend\n\nwhen flag clicked\nplay sound [different-heaven-nekozilla-lfz-remix-ncs-release-rhqI0ORQ v] until done\n\nwhen flag clicked\nforever\n    if <touching (spikes v)?> then\n        go to x: (-231) y: (-121)\n    end\nend\n\nwhen flag clicked\nforever\n    if <key (m v) pressed?> then\n        stop all sounds\n    end\nend\n\nwhen flag clicked\nforever\n    if <key (n v) pressed?> then\n        play sound [different-heaven-nekozilla-lfz-remix-ncs-release-rhqI0ORQ v] until done\n    end\nend\n\nwhen flag clicked\nforever\n    if <key (r v) pressed?> then\n        glide (.5) secs to x: (-231) y: (-121)\n    end\nend\n\nwhen flag clicked\nforever\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nset [ghost v] effect to (75)\nwait (.15) seconds\ndelete this clone\n\nwhen flag clicked\nforever\n    if <(x position) > [230]> then\n        go to x: (-231) y: (-121)\n        broadcast (message1 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <key (down arrow v) pressed?> then\n        switch costume to (shrink v)\n    else\n        switch costume to (costume1 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (bounce v)?> then\n        set [yv v] to [23]\n    end\nend\n\nwhen flag clicked\nrepeat (10)\n    if <key (s v) pressed?> then\n        broadcast (message1 v)\n        go to x: (-231) y: (-121)\n    end\nend\n\nwhen this sprite clicked\nrepeat until <not <touching (mouse-pointer v)?>>\n    switch costume to (shrink v)\nend\n\n@Levels\n\nwhen flag clicked\nswitch costume to (level 1 v)\n\nwhen I receive [message1 v]\nnext costume\n\n@Spikes\n\nwhen flag clicked\nswitch costume to (costume1 v)\n\nwhen I receive [message1 v]\nnext costume\n\n@Bounce\n\nwhen I receive [message1 v]\nnext costume\n\nwhen flag clicked\nswitch costume to (costume1 v)\n\nwhen flag clicked\nforever\n    if <color (#b3b3b3) is touching (#5a5a5a)?> then\n        change [yv v] by (15)\n    end\nend\n\n@Fog\n\nwhen flag clicked\nset [ghost v] effect to (50)\ngo to x: (0) y: (0)\nshow\ncreate clone of (_myself_ v)\nforever\n    change x by (-1)\n    if <(x position) = [-475]> then\n        hide\n    end\nend\n\nwhen I start as a clone\nset x to (475)\nforever\n    change x by (-1)\n    if <(x position) = [0]> then\n        create clone of (_myself_ v)\n    end\n    if <(x position) = [-475]> then\n        delete this clone\n    end\nend\n\nwhen I start as a clone\nset [ghost v] effect to (50)\n\nwhen flag clicked\ngo to [back v] layer\n\n@Skip\n\nwhen this sprite clicked\nbroadcast (message1 v)\n\nwhen this sprite clicked\nsay [The level is possible, but if you have to skip it, .] for (6) seconds\n\nwhen flag clicked\ngo to [front v] layer\n\n