To practice SDL2 and for the lulz, of course!
First, create a directory named build
and go into it:
mkdir build
cd build
Next, run cmake ..
(to generate the Makefile) followed by make
to build the project:
cmake ..
make
- OPTIONAL - The
assets
directory from the root of the repository should be copied into yourbuild
directory. The game will bug out (fixme!) if it doesn't find some assets.
If you can't find it, copy it manually:
cp -r ../assets .
Now you can run the compiled game with:
src/pbg
Have fun (?)
- SPACE - Punch!
That's all folks!
- Picture of Bill Gates - Getty Images
- DooM 1/2 Spritesheet - Original by ID SOFTWARE, ripped by Dolphman
- Music - Deltarune Chapter 2 OST: 35 - Knock You Down !! by Toby Fox
- Punch SFX - Found somewhere on FreeSound
- Inspired by - An image lifted from an unknown textbook (original source code):