Minecraft Platformer (MOBILE CONTROLS)
@Stage\n\nwhen flag clicked\nreset timer\nwait until <(backdrop [number v]) = [28]>\nif <(timer) < (☁ Top Speedrun:)> then\n    set [☁ top speedrun: v] to (timer)\nend\n\nwhen flag clicked\nforever\n    play sound [3 v] until done\n    play sound [2 v] until done\n    play sound [1 v] until done\nend\n\n@Ball2\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\nset [x v] to [0]\nset [y v] to [0]\nshow\nshow\nforever\n    change [y v] by (-1)\n    if <<key (left arrow v) pressed?> or <<mouse down?> and <(x position) > (mouse x)>>> then\n        change [x v] by (-1)\n    end\n    if <<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 color (#000008)?> then\n        change y by (1)\n    end\n    if <touching color (#000008)?> then\n        change y by (1)\n    end\n    if <touching color (#000008)?> then\n        change y by (1)\n    end\n    if <touching color (#000008)?> then\n        change y by (1)\n    end\n    if <touching color (#000008)?> then\n        change y by (-4)\n        change x by ((x) * (-1))\n        if <<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > (y position)>>> then\n            set [y v] to [10]\n            if <([abs v] of (x) ) = (x)> then\n                set [x v] to [-5]\n            else\n                set [x v] to [5]\n            end\n        else\n            set [x v] to [0]\n        end\n    end\n    change y by (y)\n    if <touching color (#000008)?> 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 <<mouse down?> and <(mouse y) > (y position)>>> and <touching color (#000008)?>> then\n        set [y v] to [12]\n    end\n    change y by (1)\n    if <touching color (#003fff)?> then\n        set [y v] to [22]\n    end\n    if <touching color (#2bc7ac)?> then\n        go to x: (-240) y: (14)\n    end\n    if <touching color (#705d3d)?> then\n        go to x: (-240) y: (14)\n    end\n    if <touching color (#5eff33)?> then\n        go to x: (-240) y: (14)\n    end\n    if <touching color (#ae1501)?> then\n        go to x: (-240) y: (14)\n    end\n    if <touching color (#1d1913)?> then\n        go to x: (-240) y: (14)\n    end\n    if <touching color (#3c372e)?> then\n        go to x: (-240) y: (14)\n    end\n    if <touching color (#d8d8d8)?> then\n        go to x: (-240) y: (14)\n    end\nend\n\nwhen flag clicked\nset rotation style [left-right v]\ngo to x: (-240) y: (14)\n\nwhen flag clicked\nforever\n    if <key (any v) pressed?> then\nend\n\nnext costume\n\nwhen flag clicked\nforever\n    if <<key (right arrow v) pressed?> or <<mouse down?> and <(mouse x) > (x position)>>> then\n        point in direction (90)\n    end\n    if <<key (left arrow v) pressed?> or <<mouse down?> and <(x position) > (mouse x)>>> then\n        point in direction (-90)\n    end\n    if <(y position) < [-200]> then\n        go to x: (-240) y: (14)\n    end\n    if  then\n        switch costume to (steve 3 v)\n        wait (0.1) seconds\n        switch costume to (steve 4 v)\n        wait (0.1) seconds\n    else\n        switch costume to (steve 1 v)\n        wait (0.1) seconds\n        switch costume to (steve 2 v)\n        wait (0.1) seconds\n    end\nend\n\nset [☁ top speedrun: v] to [100]\n\nwhen flag clicked\nforever\n    if <(x position) > [235]> then\n        next backdrop\n        go to x: (-240) y: (14)\n    end\nend\n\nset [☁ top speedrun: v] to [153.246]\n\n@Sprite1\n\nwhen flag clicked\nswitch costume to (pistonn v)\nforever\n    repeat (3)\n        next costume\n        wait (0.05) seconds\n    end\n    repeat (3)\n        switch costume to ((costume [number v]) - (1))\n        wait (0.05) seconds\n    end\nend\n\nwhen flag clicked\nforever\n    if <(backdrop [number v]) = [10]> then\n        show\n    else\n        hide\n    end\nend\n\n@Sprite2\n\nwhen flag clicked\nswitch costume to (pistonn v)\nforever\n    repeat (3)\n        next costume\n        wait (0.05) seconds\n    end\n    repeat (3)\n        switch costume to ((costume [number v]) - (1))\n        wait (0.05) seconds\n    end\nend\n\nwhen flag clicked\nforever\n    if <(backdrop [number v]) = [12]> then\n        show\n    else\n        hide\n    end\nend\n\n@Sprite3\n\nwhen flag clicked\nswitch costume to (pistonn2 v)\nforever\n    repeat (3)\n        next costume\n        wait (0.05) seconds\n    end\n    repeat (3)\n        switch costume to ((costume [number v]) - (1))\n        wait (0.05) seconds\n    end\nend\n\nwhen flag clicked\nforever\n    if <(backdrop [number v]) = [12]> then\n        show\n    else\n        hide\n    end\nend\n\n@Sprite4\n\nwhen flag clicked\ngo to x: (72) y: (-24)\nset rotation style [left-right v]\nforever\n    point in direction (pick random (1) to (180))\n    repeat (10)\n        change y by (20)\n    end\n    repeat (10)\n        change y by (-20)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(backdrop [number v]) = [13]> then\n        show\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    change x by (pick random (-10) to (10))\nend\n\n@Sprite5\n\nwhen flag clicked\nshow variable [☁ top speedrun: v]\nshow variable [time v]\n\nwhen flag clicked\nhide\nforever\n    set [time v] to (timer)\nend\n\ngo to [front v] layer\n\n@spider\n\nwhen flag clicked\nset rotation style [left-right v]\nhide\ngo to x: (55) y: (-39)\nforever\n    point in direction (([direction v] of [ball2 v]) - (180))\n    glide (0.5) secs to x: ([x position v] of [ball2 v]) y: (-39)\nend\n\nwhen flag clicked\n\nforever\n    if <(backdrop [number v]) = [19]> then\n        show\n    else\n        hide\n    end\nend\n\n@spider2\n\nwhen flag clicked\nset rotation style [left-right v]\nhide\ngo to x: (55) y: (-39)\nforever\n    point in direction (([direction v] of [ball2 v]) - (180))\n    glide (0.5) secs to x: ([x position v] of [ball2 v]) y: (-39)\nend\n\nwhen flag clicked\n\nforever\n    if <(backdrop [number v]) = [20]> then\n        show\n    else\n        hide\n    end\nend\n\n@Sprite6\n\nwhen flag clicked\nswitch costume to (zombie2 v)\nforever\n    repeat (5)\n        next costume\n    end\n    repeat (5)\n        switch costume to ((costume [number v]) - (1))\n    end\nend\n\nwhen flag clicked\nforever\n    if <(backdrop [number v]) = [26]> then\n        show\n    else\n        hide\n    end\nend\n\n@Sprite7\n\nwhen flag clicked\nswitch costume to (zombie2 v)\nforever\n    repeat (5)\n        next costume\n        wait (0.05) seconds\n    end\n    repeat (5)\n        switch costume to ((costume [number v]) - (1))\n        wait (0.05) seconds\n    end\nend\n\nwhen flag clicked\nforever\n    if <(backdrop [number v]) = [27]> then\n        show\n    else\n        hide\n    end\nend\n\nwait (0.05) seconds\n\n@Sprite8\n\nwhen flag clicked\nswitch costume to (zombie2 v)\nforever\n    repeat (5)\n        next costume\n        wait (0.05) seconds\n    end\n    repeat (5)\n        switch costume to ((costume [number v]) - (1))\n        wait (0.05) seconds\n    end\nend\n\nwhen flag clicked\nforever\n    if <(backdrop [number v]) = [27]> then\n        show\n    else\n        hide\n    end\nend\n\n@Sprite9\n\nwhen flag clicked\npoint in direction (90)\ngo to x: (127) y: (128)\nset rotation style [left-right v]\nforever\n    point in direction (90)\n    glide (2) secs to x: (-140) y: (128)\n    point in direction (-90)\n    glide (2) secs to x: (127) y: (128)\nend\n\nwhen flag clicked\nforever\n    if <(backdrop [number v]) = [31]> then\n        show\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nset rotation style [left-right v]\n\nforever\nend\n\nchange x by (pick random (-10) to (10))\n\npoint in direction (pick random (1) to (180))\nrepeat (10)\n    change y by (20)\nend\nrepeat (10)\n    change y by (-20)\nend\n\n
Arrow keys to move.\nSorry, only Scratchers can change the highscore.\nComment your best score.\n\nIf you ❤️ and ⭐ and comment below, then within 24 hours I will give YOU a special feature to have a cool skin in this game.