No description
- C++ 100%
| include | ||
| res | ||
| src | ||
| .gitignore | ||
| README.md | ||
Space Shooter thingy - Budget Edition
Made with C++20 and SDL2
Background
Something like Galaga and Space invaders but not really. Made this just to get the basics of SDL2
Compiling
Windows
Install Git Bash, Mingw64, SDL2, SDL_Image, SDL_TTF, and SDL_Mixer.
Linux
Install SDL2, SDL Image, SDL TTF and SDL Mixer.
For Arch
sudo pacman -S sdl2 sdl2_image sdl2_ttf sdl2_mixer
For other distros
Check your distro package manager/repos
After acquiring SDL2
g++ -c src/*.cpp -std=c++20 -m64 -g -Wall -I include && g++ *.o -o bin/debug/main -lSDL2main -lSDL2 -lSDL2_image -lSDL2_mixer
Compiled file will be located in ./bin/debug, you will need to copy ./res folder to ./bin/debug folder. (On windows you will also need to copy SDL2 DLLs to ./bin/debug folder)
Credits
Used cocogoose.ttf from PolyMarsDev Cursor Custodian