I am working on mimicking the control system for a game called Super Meat Boy. Right now I am working on the jump. The way the jump works is that you jump higher as you hold down the jump button longer. I feel like I have mimicked this well, but it just seems that half-way through the jump, the jump kind of “boosts” a bit.
What I mean is that it suddenly picks up a bit of speed, and it is not as smooth as I would like it to be.
The project is really small, so here are the main and config.lua files:
I don’t know if any of you have ever played Super Meat Boy, but I am sure you should be able to see the speed boost mid-way through the jump.