A small SDL2 platformer written in C++.
The build requires a C++23 compiler, GNU Make, pkg-config, SDL2, and
SDL2_image.
On macOS with Homebrew:
brew install pkg-config sdl2 sdl2_imageOn Debian or Ubuntu:
sudo apt install build-essential pkg-config libsdl2-dev libsdl2-image-devmake
make runThe default build is a debug build at build/debug/2d-platformer. For an
optimized build:
make release
make MODE=release runRun make help for all supported commands. The game must start with the
repository root as its working directory because it loads assets from res/;
the run target handles this automatically.