SSGE is a simple game engine written in C. It is made on top of the SDL2 library. The engine is designed to be simple, lightweight and easy to use. It is not a full game engine, but rather a simple framework to build a game on top of.
- Simple object system
- Simple graphics / rendering system
- Event Handling
- Tilemap support
- Audio support
- Font and text rendering
- Fully compatible with
SDL2 - and more ...
To use the engine, download the release and copy the files into your project. You will need to link against SSGE libraries.
See example/makefile
The Linux version is built on Ubuntu 24.04. If you are using a different OS, you may need to rebuild the engine on your system. Ensure that you have installed the SDL2 library, along with SDL2_image, SDL2_mixer and SDL2_ttf, on your system.
You can use the shell.nix file.
Install the required libraries with:
sudo apt-get install libsdl2-dev libsdl2-image-dev libsdl2-ttf-dev libsdl2-mixer-dev -yqInstall the required libraries with:
sudo pacman -Sq --noconfirm sdl2 sdl2_image sdl2_ttf sdl2_mixerInstall the required libraries with:
pacman -Sq --noconfirm mingw-w64-x86_64-SDL2 mingw-w64-x86_64-SDL2_image mingw-w64-x86_64-SDL2_mixer mingw-w64-x86_64-SDL2_ttfSee example/src/tictactoe.c for an example of how to use the engine.
You can also see the Minesweeper repo I made with this engine. (WARNING: SSGE version may be different)
Each functions and structures are documented in the source code. See the header files for more information. I will make a proper documentation later :/
- ⬛ Z-Axis Map
- ✅ Animation System
- ⬛ 9-slice
- ⬛ (maybe) Switch to SDL3
- ⬛ (maybe) Make a GUI (game engine)
This project is licensed under the MIT License - see the LICENSE file for details.