⛏ MC Platformer ⛏ | Mobile! |

Instructions: Follow @Masteryko for suprise on Your profile :D\nWASD | ARROWS | MOBILE\nCONTROL\n______________________________________________\n

@Stage\n\nwhen I receive [wiadomość1 v]\nset [brightness v] effect to (30)\nset [level v] to [1]\nforever\n    play sound [TheFatRat-Windfall v] until done\nend\n\nwhen flag clicked\nbroadcast (wiadomość1 v)\n\n@Level\n\nwhen flag clicked\nshow\nforever\n    switch costume to ((level) + (1))\nend\n\n@Player\n\nwhen flag clicked\n\nwhen flag clicked\n\nwhen flag clicked\n\nwhen flag clicked\n\nwhen I receive [wiadomość1 v]\nshow\nswitch costume to (front v)\ngo to x: (-200) y: (0)\nset [player: x v] to [0]\nset [player: y v] to [0]\nset [level v] to [1]\nforever\n    if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(mouse x) > (x position)>>> then\n        change [player: x v] by (.9)\n    end\n    if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(mouse x) < (x position)>>> then\n        change [player: x v] by (-.9)\n    end\n    set [player: x v] to ((Player: x) * (.9))\n    change x by (Player: x)\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 y by (-5)\n                            change x by ((Player: x) * (-1))\n                            if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > ((y position) + (10))>>> then\n                                if <(Player: x) > [0]> then\n                                    set [player: x v] to [-5]\n                                else\n                                    set [player: x v] to [5]\n                                end\n                                set [player: y v] to [12]\n                            else\n                                set [player: x v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [player: y v] by (-1)\n    change y by (Player: y)\n    if <touching (level v)?> then\n        change y by ((Player: y) * (-1))\n        set [player: y 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) + (10))>>> then\n            change [player: y v] by (12)\n        end\n    end\n    change y by (1)\n    if <<(x position) < [-240]> and <(level) = [1]>> then\n        set x to (-240)\n    end\n    if <touching (lava v)?> then\n        start sound [hurt v]\n        go to x: (-200) y: (42)\n        set [player: x v] to [0]\n        set [player: y v] to [0]\n    end\nend\n\nwhen I receive [wiadomość1 v]\nforever\n    if <not <<<<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(mouse x) > (x position)>>> or <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(mouse x) < (x position)>>>> or <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > ((y position) + (10))>>>>> then\n        switch costume to (front v)\n    end\n    if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(mouse x) > (x position)>>> then\n        switch costume to (right v)\n    end\n    if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(mouse x) < (x position)>>> then\n        switch costume to (left v)\n    end\n    if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > ((y position) + (10))>>> then\n        switch costume to (up v)\n    end\n    if <<<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(mouse x) > (x position)>>> and <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > ((y position) + (10))>>>> then\n        switch costume to (up right v)\n    end\n    if <<<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(mouse x) < (x position)>>> and <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > ((y position) + (10))>>>> then\n        switch costume to (up left v)\n    end\nend\n\nwhen I receive [wiadomość1 v]\nforever\n    if <touching (water v)?> then\n        change [player: y v] by (-0.3)\n        if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > ((y position) + (10))>>> then\n            change [player: y v] by (2)\n        end\n        set [player: y v] to ((Player: y) * (.9))\n    end\nend\n\nwhen I receive [wiadomość1 v]\nshow\nforever\n    if <(x position) > [238]> then\n        go to x: (-240) y: (42)\n        change [level v] by (1)\n    end\n    if <<(x position) < [-240]> and <not <(level) = [1]>>> then\n        go to x: (240) y: (42)\n        change [level v] by (-1)\n    end\nend\n\n@Lava\n\nwhen flag clicked\n\nwhen I receive [wiadomość1 v]\nshow\ngo to [back v] layer\nforever\n    switch costume to (level)\nend\n\n@Water\n\nwhen flag clicked\n\nwhen I receive [wiadomość1 v]\nshow\ngo to [back v] layer\nforever\n    switch costume to (level)\nend\n\n@Background\n\nwhen flag clicked\nhide\n\ngo to [front v] layer\n\n