Free Platformer Engine #tutorials #games #all

Instructions: Hello Guys :)\nMany people are unable to create perfect platformer with real life physics !!!\n\nSo here you go ~\nThis is a simple project with which you can easily make platformers from now :) \n\nControls ~\nRight arrow - Right\nLeft arrow - Left\nUp arrow - Up\nDown arrow - Down\n\nHow to use ~\nBackpack the 3 sprites and the background...\nAnd add it in a new project...\nNow all up to you ...\nChange the player, background, spikes and level\nPls give credit if you used it :)\nPls like/fav if it helped you\nAny projects I see without credit will be reported :O\n\nNote ~\nThis is only an engine.. So it is not perfectly a game but you can still play it :) \nI know there is a glitch where you get stuck in the wall this because i tried to keep the scripts very easy :)\n\nFact -\nOnly 50 blocks used for player physics and super easy :)\n\nThanks :)

@Stage\n\n@Level\n\nwhen flag clicked\nshow\nswitch costume to (costume1 v)\ngo to x: (34) y: (3)\n\nwhen I receive [next level v]\nnext costume\n\n@Player\n\nwhen flag clicked\nshow\nreset timer\ngo to [front v] layer\nswitch costume to (center v)\ngo to x: (-186) y: (-12)\nset [x vel v] to [0]\nset [y vel v] to [0]\nforever\n    Play\nend\n\ndefine Play\nif <key (right arrow v) pressed?> then\n    change [x vel v] by (1)\nend\nif <key (left arrow v) pressed?> then\n    change [x vel v] by (-1)\nend\nchange x by (X vel)\nset [x vel v] to ((X vel) * (0.9))\nif <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 ((X vel) * (-1))\n                        change y by (-5)\n                        if <key (up arrow v) pressed?> then\n                            if <(X vel) > [0]> then\n                                set [x vel v] to [-10]\n                            else\n                                set [x vel v] to [10]\n                            end\n                            set [y vel v] to [15]\n                        else\n                            set [x vel v] to [0]\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\nchange [y vel v] by (-1)\nchange y by (Y vel)\nif <touching (level v)?> then\n    change y by ((Y vel) * (-1))\n    set [y vel v] to [0]\nend\nchange y by (-1)\nif <key (up arrow v) pressed?> then\n    if <touching (level v)?> then\n        set [y vel v] to [13]\n    end\nend\nchange y by (1)\nchange [scroll y v] by ((y position) * (-1))\nif <touching (spikes v)?> then\n    go to x: (-196) y: (-61)\nend\nif <[240] < (x position)> then\n    go to x: (-196) y: (-61)\n    broadcast (next level v)\nend\n\nwhen I start as a clone\nswitch costume to (effect v)\nrepeat (10)\n    change [ghost v] effect by (10)\n    change size by (-5)\nend\ndelete this clone\n\n@Spikes\n\nwhen flag clicked\nshow\nswitch costume to (costume2 v)\ngo to x: (1) y: (-33)\ngo to [front v] layer\n\nwhen I receive [next level v]\nnext costume\n\n@thumbnail\n\nwhen flag clicked\nset [ghost v] effect to (100)\n\n