My first project done with C++ and the SFML library. It's quite simple, so if you tweak the numbers you'll encounter bugs in the physics. Here's a video of it.
To compile it, download and install SFML and compile the code with
g++ Main.cpp -o Main -lsfml-graphics -lsfml-system -lsfml-window
A
: Move left
D
: Move right
Space
: Jump
W
: Increase Y acceleration
S
: Decrease Y acceleration
Scroll Up/Down
: Increase/Decrease X acceleration