Platformer Engine!  #games #platformer #trending #all #music #animations #art #stories #tutorials 
@Stage\n\nwhen flag clicked\nswitch backdrop to (1 v)\nforever\n    play sound [TheFatRat  JJD - Prelude VIP Edit.mp3 v] until done\nend\n\n@Platformer Engine\n\nwhen I receive [up v]\ngo to x: (-201) y: (-59)\n\nwhen flag clicked\nshow\nset size to (130) %\nset [ghost v] effect to (0)\nshow\nswitch costume to (straight v)\nswitch backdrop to (1 v)\nset [xv v] to [0]\nset [yv v] to [0]\ngo to x: (-207) y: (-19)\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 (right 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 (left v)\n    end\n    if <<not <key (any v) pressed?>> or <mouse down?>> then\n        switch costume to (straight v)\n    end\n    set [xv v] to ((Xv) * (0.9))\n    change x by (Xv)\n    if <<touching color (#31ff00)?> or <<touching color (#448e00)?> or <touching color (#5f4300)?>>> then\n        change y by (1)\n        if <<touching color (#31ff00)?> or <<touching color (#448e00)?> or <touching color (#5f4300)?>>> then\n            change y by (1)\n            if <<touching color (#31ff00)?> or <<touching color (#448e00)?> or <touching color (#5f4300)?>>> then\n                change y by (1)\n                if <<touching color (#31ff00)?> or <<touching color (#448e00)?> or <touching color (#5f4300)?>>> then\n                    change y by (1)\n                    if <<touching color (#31ff00)?> or <<touching color (#448e00)?> or <touching color (#5f4300)?>>> then\n                        change y by (1)\n                        if <<touching color (#31ff00)?> or <<touching color (#448e00)?> or <touching color (#5f4300)?>>> 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 [-4]\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 (#31ff00)?> or <<touching color (#448e00)?> or <touching color (#5f4300)?>>> then\n        change y by ((Yv) * (-1))\n        set [yv v] to [0]\n    end\n    change y by (-1)\n    if <<touching color (#31ff00)?> or <<touching color (#448e00)?> or <touching color (#5f4300)?>>> 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 (#800000)?> or <touching color (#ff0000)?>> then\n        start sound [Oops v]\n        set [xv v] to [0]\n        set [yv v] to [0]\n        go to x: (-207) y: (-19)\n    end\n    if <touching color (#fff700)?> then\n        start sound [Big Boing v]\n        set [yv v] to [20]\n    end\n    if <<(x position) > [-228]> and <(y position) < [-169]>> then\n        start sound [Oops v]\n        set [xv v] to [0]\n        set [yv v] to [0]\n        go to x: (-207) y: (-19)\n    end\n    if <(x position) = [243]> then\n        go to x: (-207) y: (-19)\n        next backdrop\n    end\nend\n\n@Skip\n\nwhen this sprite clicked\nnext backdrop\nbroadcast (up v)\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [8 v]\nhide\n\nwhen flag clicked\npoint in direction (90)\nshow\ngo to x: (195) y: (-145)\ngo to [front v] layer\nforever\n    if <touching (mouse-pointer v)?> then\n        set size to (100) %\n    else\n        set size to (80) %\n    end\nend\n\n@TB\n\nwhen flag clicked\nset [ghost v] effect to (100)\nshow\n\n
-PLATFORMER ENGINE-\n-A MOBILE FRIENDLY PLATFORMER-\n\n\nUSE WITH CREDIT!!!\n\nWelcome to my platformer engine! :)\nLike and fav if you enjoyed!\n\nMOBILE FRIENDLY!!!\nMy first project! :D\n\n\nINSTRUCTIONS:\n\n> Jump with W, arrow key (up), or mobile.\n> Move with A and D, arrow keys (left, right), or mobile.\n> Dodge spikes! :)\n> Bounce on trampolines!\n> Use with credit!\n\n\nTAGS:\n\n#games #all #tutorials #art #music #animations #trending #platformer #stories #engine #1st