Super Mario Bros | A Platformer | #games #mario #fun 

Instructions: ★Super Mario Bros★\n★A Mobile Friendly Platformer★\n\n2K Special O.o\nEnjoy!\nLike and fav! Follow me for more content!\n\n★INSTRUCTIONS★\n\nUse arrow keys or WAD to move\nPress up arrow to jump\nDodge goombas, koopas, and piranhas.   \nJump on bricks\n\n★CREDITS★\n\n@Will_Wam for mario, enemies, and background\n@Soundburst for engine\n\n★SOME OF MY OTHER GAMES★\n\nBURGER CLICKER:\nhttps://scratch.mit.edu/projects/534796495\nAMONG US 5 THE SABOTAGE:\nhttps://scratch.mit.edu/projects/534567968\n1.6K GAME CONTEST RESULTS:\nhttps://scratch.mit.edu/projects/537661103\n\n★TAGS★\n\n#games #all #mario #supermario #fun #art #goomba #koopa #piranha #mobile #trentontnt #like #fav #follow #enjoy

@Stage\n\nwhen flag clicked\nswitch backdrop to (1 v)\nforever\n    play sound [smb_main-theme v] until done\nend\n\n@Platformer Engine\n\nwhen backdrop switches to [13 v]\nshow variable [deaths v]\n\nwhen I receive [up v]\nset [ghost v] effect to (0)\nshow\ngo to x: (-201) y: (-59)\n\nwhen flag clicked\nhide\nhide variable [deaths v]\nset [deaths v] to [0]\nwait (1) seconds\nshow\nset size to (150) %\nset [ghost v] effect to (0)\nswitch costume to (stand v)\nset [xv v] to [0]\nset [yv v] to [0]\ngo to x: (-201) y: (-10)\nforever\n    if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(mouse x) > (x position)>>> then\n        change [xv v] by (1)\n        switch costume to (stand v)\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 [xv v] by (-1)\n        switch costume to (stand2 v)\n    end\n    set [xv v] to ((Xv) * (0.9))\n    change x by (Xv)\n    if <touching color (#000000)?> then\n        change y by (1)\n        if <touching color (#000000)?> then\n            change y by (1)\n            if <touching color (#000000)?> then\n                change y by (1)\n                if <touching color (#000000)?> then\n                    change y by (1)\n                    if <touching color (#000000)?> then\n                        change y by (1)\n                        if <touching color (#000000)?> then\n                            change x by ((Xv) * (-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 <(Xv) > [0]> then\n                                    set [xv v] to [-5]\n                                else\n                                    set [xv v] to [5]\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 [yv v] by (-1)\n    change y by (Yv)\n    if <touching color (#000000)?> then\n        change y by ((Yv) * (-1))\n        set [yv v] to [0]\n    end\n    change y by (-1)\n    if <touching color (#000000)?> then\n        if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> then\n            set [yv v] to [16]\n        end\n    end\n    if <<touching color (#994b0c)?> or <touching color (#d78d22)?>> then\n        switch costume to (die v)\n        set [xv v] to [0]\n        set [yv v] to [0]\n        repeat (10)\n            change [ghost v] effect by (10)\n        end\n        broadcast (UNSHRINK v)\n        broadcast (up v)\n        switch costume to (stand v)\n        change [deaths v] by (1)\n    end\n    if <<(x position) > [-230]> and <(y position) < [-179]>> then\n        start sound [Oops v]\n        set [xv v] to [0]\n        set [yv v] to [0]\n        broadcast (up v)\n    end\n    if <touching (flag v)?> then\n        go to x: (-201) y: (-10)\n        next backdrop\n    end\n    if <touching color (#171717)?> then\n        go to x: (-201) y: (-10)\n        next backdrop\n    end\nend\n\nwhen backdrop switches to [13 v]\nhide\nstop [other scripts in sprite v]\nstop [this script v]\n\n@FLAG\n\nwhen flag clicked\nshow\ngo to x: (182) y: (-60)\n\nwhen backdrop switches to [2 v]\ngo to x: (151) y: (5)\n\nwhen backdrop switches to [3 v]\ngo to x: (203) y: (-60)\n\nwhen backdrop switches to [11 v]\ngo to x: (166) y: (1)\n\nwhen backdrop switches to [12 v]\nhide\n\nwhen backdrop switches to [13 v]\nhide\n\n@TB\n\nwhen flag clicked\nhide\n\n@PIPE\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [12 v]\ngo to x: (170) y: (-77)\nshow\n\nwhen backdrop switches to [13 v]\nhide\n\n@LV 1\n\nwhen flag clicked\nshow\nwait (1) seconds\nforever\n    hide\nend\n\n