The title should be pretty self-explanatory, this is a scrolling platformer engine that you can use to make your own unique platformer! (Be sure to credit me, of course.) Controls: arrow keys (you knew that already) space to swap levels (looping over left/right of the screen does this too) The way this works is by using the level itself as the "player", and the player as the ground. In order to make it feel like you are moving around the level, the gravity and controls of the platformer script are reversed. This means that pressing left moves the level to the right, pressing right moves the level to the left, and that the level falls upwards instead of downwards. I've also coded a loop-over effect, which teleports you to the top of the screen if you fall (looping over left/right changes the level). this part of the engine is not required at all, and can be removed if you don't want it in your game. Please give credit if you use this!
In order to use this, all you need to do is backpack the script in the "ground" sprite, and put it in the ground in your game. Thats it! (be sure to replace every instance of "touching hitbox" with" touching (your player)") PLEASE NOTE: Because of how the player and the ground are reversed, using "If touching color[ ]" blocks wont work. if you want to have an exit, you'll have to make a separate sprite for it and have it move with the level (ex: set X to (x position of ground) + distance). It's hard to explain.