Arrow keys. THIS IS NOT A GAME, it's an engine. So yeah, I'll be using this for my platformers, I guess. Feel free to use with credit. Or you can just credit the people below. Your choice.
This engine combines elements from various other platformer engines: @corpcooga: the fast rise slope detect thing. (it was called "fast" in the tutorial) @griffpatch: the "in air" (originally "falling?") variable to avoid not being able to jump properly while going down slopes. @djpro: the change x by Xv * -1 block for x collision. I would have used corpcooga's, but sometimes it will lag the whole game when the player is stuck in a wall. So in general: -X Movement: it's basically the same for every engine. Nothing to say about that. -X Collision: I used a combination of @corpcooga's and @djpro's methods. -Y Movement (jump/fall): Basically the same for every engine, but I used @griffpatch's variable to help with jumping. -Y Collision: @griffpatch and @corpcooga have the same smooth method of y collision, so I used that one. Although it glitches sometimes. I guess technically it isn't "my" engine, it's just a combination of the others. It's fine cuz I gave credit.