A small 2D combat-focused game demo made purely with C++ and SDL2.
demo.mov
cd src
make
./main
You may need to install the SDL2 and SDL2 image libraries.
-
W : Jump
-
A : Move left
-
S : Crouch
-
D : Move right
-
J : Attack
-
K : Roll
-
L : Heal
-
S + J while in the air : Air attack
I used Codergopher's youtube tutorial to get started with SDL2. The textures used are made freely available by the talented artists of itch.io and craftpix.net.