Scrolling Engine by @chipm0nk Arrow keys to move and jump. Just kinda play around to make sure it works and if it's fit for your game. Have fun and MAKE SURE YOU GIVE CREDIT TO @Fire_Wolf712 (me), FOR THE PLATFORMER ENGINE IN THE NOTES AND CREDITS SECTION OF YOUR GAME! This engine covers: 1. Plain, Regular Engine (No wall-jumping, no scrolling) 2. Engine with Wall-Jumping 3. Engine with Scrolling
I've added comments inside on the code blocks that determine the speed for left and right, and I've added a comment on the code block that determines how high your character will jump. Also, there are signals that indicate where the ground color is, so you could differentiate the colors of the ground in your game. In order to use this for your game, go inside, and backpack the whole thing (yes, that code is adequate for working gravity, ground sensing, pretty much all the required elements for ground and platforms).