-Minecraft- A Platformer (Mobile Friendly)

Instructions: Liked by: @0014049 and @leo889 :-0\n\nHi friends,\n\nPress the arrows or click where you want to move and get to know some COVID-19 facts too!\nPress C or click the player to change skin!\n\nHave Fun!!

@Stage\n\n@Thumbnail\n\nwhen flag clicked\ngo [forward v] (100) layers\nset [ghost v] to [0]\ngo to x: (0) y: (0)\nset size to (100) %\nset [start v] to [0]\nbroadcast (LaunchMinecraftSign v)\nshow\nwait until <(start) = [1]>\nbroadcast (InstructionsPage v)\n\nwhen I receive [instructionspage v]\nchange [ghost v] by (1)\nrepeat until <(ghost) = [100]>\n    change [ghost v] effect by (ghost)\nend\n\n@TNT border\n\nwhen flag clicked\ngo [backward v] (2) layers\nhide\n\nwhen I receive [red v]\nshow\nset [ghost v] effect to (100)\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\nwait (0.05) seconds\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nhide\n\n@Potion Of Swiftness\n\nwhen I receive [next level v]\nnext costume\n\nwhen flag clicked\nswitch costume to (costume1 v)\n\nwhen flag clicked\ngo to x: (-115) y: (-70)\nhide\n\nwhen flag clicked\nwait (1) seconds\nshow\n\n@Cactus\n\nwhen I receive [next level v]\nnext costume\n\nwhen flag clicked\ngo to [back v] layer\nswitch costume to (costume1 v)\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nwait (1) seconds\nshow\n\n@Levels\n\nwhen I receive [next level v]\nnext costume\n\nwhen flag clicked\nswitch costume to (costume1 v)\n\nwhen flag clicked\nforever\n    if <(costume [name v]) = [end]> then\n        broadcast (estop v)\n    end\nend\n\nwhen flag clicked\nshow\n\nwhen flag clicked\nwait (1) seconds\nshow\n\n@Backdrop\n\nwhen flag clicked\ngo to x: (0) y: (0)\nshow\nset size to (115) %\ngo to [back v] layer\nforever\n    set y to (([y position v] of [skin v]) * (-0.1))\n    set x to (([x position v] of [skin v]) * (0.1))\nend\n\n@Skin\n\nwhen I receive [estop v]\nhide\nstop [other scripts in sprite v]\nhide\n\nwhen I receive [next level v]\nset [yv v] to [0]\nset [xv v] to [0]\ngo to x: (-200) y: (0)\nset [ghost v] effect to (0)\n\nwhen flag clicked\npoint in direction (90)\nset [xvel v] to [0]\nset [yvel v] to [0]\nforever\n    set size to (size) %\n    set [size v] to [55]\n    show\n    set rotation style [all around v]\n    if <<<mouse down?> and <(x position) > (mouse x)>> or <key (left arrow v) pressed?>> then\n        change [xv v] by (-1)\n    end\n    if <<<mouse down?> and <(x position) < (mouse x)>> or <key (right arrow v) pressed?>> 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 (levels v)?> then\n        change y by (1)\n        if <touching (levels v)?> then\n            change y by (1)\n            if <touching (levels v)?> then\n                change y by (1)\n                if <touching (levels v)?> then\n                    change y by (1)\n                    if <touching (levels v)?> then\n                        change y by (1)\n                        if <touching (levels v)?> then\n                            change x by ((Xv) * (-1))\n                            change y by (-5)\n                            if <<<mouse down?> and <(y position) < (mouse y)>> or <key (up arrow v) pressed?>> then\n                                if <(Xv) > [0]> then\n                                    set [xv v] to [-7]\n                                else\n                                    set [xv v] to [7]\n                                end\n                                set [yv v] to [10]\n                            else\n                                set [xv v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change y by (-1)\n    if <touching (levels v)?> then\n        if <<<mouse down?> and <(y position) < (mouse y)>> or <key (up arrow v) pressed?>> then\n            set [yv v] to [17]\n        end\n    end\n    change y by (1)\n    change [yv v] by (-1)\n    set [yv v] to ((Yv) * (0.99))\n    change y by (Yv)\n    if <touching (levels v)?> then\n        change y by ((Yv) * (-1))\n        set [yv v] to [0]\n    end\n    hide variable [xv v]\n    if <(x position) > [230]> then\n        broadcast (next level v)\n    end\n    if <(y position) < [-170]> then\n        go to x: (-200) y: (0)\n    end\n    if touching\nend\n\nwhen flag clicked\nwait (1) seconds\ngo to x: (-200) y: (0)\n\ndefine if touching\nif <touching (cactus v)?> then\n    broadcast (Red v)\n    repeat (10)\n        turn right (5) degrees\n        change [size v] by (-10)\n        set size to (size) %\n    end\n    set [yv v] to [0]\n    set [xv v] to [0]\n    set size to (100) %\n    set [ghost v] effect to (0)\n    go to x: (-200) y: (0)\n    point in direction (90)\nend\nif <touching (bounce v)?> then\n    set [yv v] to [20]\nend\nif <touching (potion of swiftness v)?> then\n    set [xv v] to [21]\nend\n\nwhen [c v] key pressed\nnext costume\n\nwhen this sprite clicked\nnext costume\n\n@MinecraftPlatformer\n\nwhen I receive [instructionspage v]\nrepeat until <(size) = [2]>\n    change size by (-1)\nend\nhide\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nset size to (80) %\ngo to x: (0) y: (-300)\ngo to [front v] layer\nswitch costume to (platformer v)\nshow\nglide (1) secs to x: (0) y: (50)\nbroadcast (Bump v)\nwait (0.1) seconds\n\nwhen I receive [bump v]\nif <(costume [number v]) = [1]> then\n    set [bump v] to [5]\n    repeat (11)\n        change y by (Bump)\n        change [bump v] by (-1)\n    end\n    set [start v] to [1]\nend\n\nwhen I receive [bumpleft v]\nif <(costume [number v]) = [1]> then\n    set [bump v] to [7]\n    repeat (5)\n        change x by ((0) - (Bump))\n        change [bump v] by (-1)\n    end\nelse\n    set [bump v] to [7]\n    repeat (5)\n        change x by ((0) - (Bump))\n        change [bump v] by (-1)\n    end\nend\n\nwhen I receive [launchminecraftsign v]\nswitch costume to (minecraft v)\nwait (0.4) seconds\ngo to x: (0) y: (300)\nset size to (80) %\ngo to [front v] layer\nshow\nglide (1) secs to x: (0) y: (50)\ncreate clone of (_myself_ v)\n\nwhen I receive [start v]\nhide\ndelete this clone\n\nwhen I receive [gameover v]\nhide\n\n