Simple Platformer Template!
@Stage\n\n@Template by JoelGalaxyKing\n\nwhen I receive [next level v]\nswitch costume to (stare v)\ngo to x: (-226) y: (-30)\n\nwhen I start as a clone\nshow\nset [ghost v] effect to (0)\nset size to (100) %\nrepeat (10)\n    change size by (-10)\n    change [ghost v] effect by (13)\nend\nhide\ndelete this clone\n\nwhen I receive [death v]\ngo to x: (-226) y: (-30)\n\nwhen flag clicked\nswitch costume to (stare v)\nhide\n\nwhen flag clicked\nswitch backdrop to (backdrop0.5 v)\nshow\ngo to x: (-210) y: (200)\nhide variable [score v]\nset [score v] to [0]\nset [my variable v] to [0]\nset [yv v] to [0]\nforever\n    if <key (right arrow v) pressed?> then\n        switch costume to (right v)\n        change [my variable v] by (0.7)\n    end\n    if <key (left arrow v) pressed?> then\n        switch costume to (left v)\n        change [my variable v] by (-0.7)\n    end\n    set [my variable v] to ((my variable) * (0.9))\n    change x by (my variable)\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 x by ((my variable) * (-1))\n                            change y by (-5)\n                            if <key (up arrow v) pressed?> then\n                                if <(my variable) > [0]> then\n                                    set [my variable v] to [-1]\n                                else\n                                    set [my variable v] to [5]\n                                end\n                                set [yv v] to [10]\n                            else\n                                set [my variable 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 (level v)?> then\n        change y by ((Yv) * (-1))\n        set [yv v] to [0]\n    end\n    change y by (-1)\n    if <touching (level v)?> then\n        if <key (up arrow v) pressed?> then\n            start sound [Jump v]\n            switch costume to (stare v)\n            set [yv v] to [11]\n        end\n    end\n    change y by (1)\n    if <touching (next level v)?> then\n        broadcast (Next level v)\n        start sound [Coin v]\n    end\n    if <<touching (spikes v)?> or <touching (lava rises v)?>> then\n        start sound [Low Whoosh v]\n        switch costume to (stare v)\n        broadcast (death v)\n    end\n    if <touching (trampoline  v)?> then\n        start sound [Boing v]\n        set [yv v] to [15]\n    end\nend\n\nwhen flag clicked\nforever\n    create clone of (_myself_ v)\nend\n\nwhen flag clicked\nforever\n    play sound [DELETE ME PLZ v] until done\nend\n\n@Level\n\nwhen I receive [next level v]\nswitch backdrop to (backdrop1 v)\nnext costume\n\nwhen flag clicked\nswitch costume to (costume1 v)\nshow\n\n@Spikes\n\nwhen I receive [next level v]\nnext costume\n\nwhen flag clicked\nswitch costume to (costume1 v)\nshow\n\n@Trampoline \n\nwhen I receive [next level v]\nnext costume\n\nwhen flag clicked\nswitch costume to (costume1 v)\nhide\n\n@Lava Rises\n\nwhen flag clicked\nhide\n\nshow\n\n@Level Words\n\nwhen flag clicked\nswitch costume to (costume1 v)\nshow\n\nwhen I receive [start v]\ngo to [front v] layer\n\nwhen I receive [next level v]\nnext costume\n\n@delete this\n\nwhen flag clicked\nshow\n\n@THUMBNAIL\n\nwhen flag clicked\nset [ghost v] effect to (100)\ngo to [front v] layer\n\n@Next level\n\nwhen flag clicked\nset [ghost v] effect to (100)\nforever\n    if <touching (template by joelgalaxyking v)?> then\n        broadcast (Next level v)\n    end\nend\n\n
Welcome to my Platformer Template\n\nThis template allows you to create a platformer game using my code and some of my costumes that I normally use for my platformers! \n\nPeople that used a template before should know what to do! (right?)\n\n(Im planning on make a new one...but more profesional)\n\nInstructions for beginners:\n\nPlease press see inside and then press backpack at the bottom for your screen and then drag all the sprites into the backpack when you are done press see project page and then click the create button. When u click the create button delete the Scratch cat sprite and then press the backpack again and drag the sprite you put in the backpack onto the sprite section or where u deleted the scratch cat sprite!\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\nFor everyone:\n\nWhen you are done with that there are more instructions in the coding section in all the sprites! (if you need it)\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\nMy Platformers:\n\nNewest: (OLD NEWEST)\n\nStickman Parkour || Scrolling Platformer (Part 1)\nhttps://scratch.mit.edu/projects/432056295/\n\nMy favorite: (OLD FAV)\n\nBLUE || A Platformer (part 1)\nhttps://scratch.mit.edu/projects/414213557/\n\nMost popular:\n\nWizard's Adventure | Platformer | (v2.35) (OLD)\nhttps://scratch.mit.edu/projects/379892489/\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\nControls:\n\n-Arrow keys to move\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\nPlz give credit when you're using my engine\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~