This is a simple 2D game project that uses SDL2 for rendering. I don't have any huge goals or ambitions for this project - I'm mainly working on this for fun and to improve my software design and C++ skills.
Inheritance diagram generated from inheritance.gv using Graphviz.
If you would like to try and build this project (requires SDL2, sdl2_ttf, sdl2_image, sdl2_mixer and cmake)...
-
Clone the repo into any location
-
Create a build directory
mkdir build
-
Generate the build files using cmake
cmake -S . -B build -
Build the program
make -C build
-
Run the program!
build/2dgame
Hopefully it works ;)
- Try using an ECS architecture
- Look into using a scripting system
