- Notifications
You must be signed in to change notification settings - Fork0
Base code for building simple, 2-dimensional games in C.
License
jmp/base
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This is base code for simple, 2-dimensional games written in C.It is something I've developed for my own use over several years.
Features:
- Sprite/texture loading from BMP files.
- Sound effect loading from WAV files.
- Bitmap font system.
- Configuration saving/loading from text files.
- Debugging facilities with logging to file.
Use GCC to compile.
The following libraries are required for compilation:
- SDL (https://libsdl.org/)
- SDL_mixer (https://libsdl.org/projects/SDL_mixer/)
- PhysicsFS (https://icculus.org/physfs/)
Runmake
, and the binary should be created underbin/
.
This program is free software: you can redistribute it and/or modifyit under the terms of the GNU General Public License as published bythe Free Software Foundation, either version 3 of the License, or(at your option) any later version.
This program is distributed in the hope that it will be useful,but WITHOUT ANY WARRANTY; without even the implied warranty ofMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See theGNU General Public License for more details.
You should have received a copy of the GNU General Public Licensealong with this program. If not, seehttps://www.gnu.org/licenses/.
See theLICENSE
file for the full license text.
The SDL parts underext/
are under the zlib license:https://www.libsdl.org/license.php
The PhysicsFS parts underext/
are under the zlib license:https://hg.icculus.org/icculus/physfs/raw-file/tip/LICENSE.txt