Hi guys I was wondering how to implement jumping in a 2D game.
Something like this but bit more accurate.
I mean jumping on the left, jumping on the right, and just jumping without moving on the x axis
I guess it will have something to do with gravity and probably something else I'm not aware of, being new in game development with C++ and SDL2.
Please let me know and many thanks in advance!