- It runs on all platforms supported by SDL2.
- Fully reentrant engine core.
- The dependencies can be limited to SDL2.
- It uses the Tiled Map Editor as its main tool to develop games.
The documentation can be generated using Doxygen:
A automatically generated version of the documentation can be found here: eszfw.de
You are invited to contribute to this project. But to ensure a uniform formatting of the source code, you will find some rules here:
- Follow the C11 standard.
- Do not use tabs and use a consistent 4 space indentation style.
- Use lower snake_case for both function and variable names.
- Try to use a consistent style. Use the existing code as a guideline.
This project currently undergoes a complete overhaul.
If you wanna see a previous version in action, take a look at the demo application.
An Android version is available on Google Play:
C is dead, long live C
Even though hardly any games are written in C nowadays, there are a few noteworthy titles that meet this criterion e.g. Doom, Quake, Quake II, and Neverwinter Nights.
This project should show that it is still possible and that C (and procedural programming in general) is often underestimated.
With that in mind: C is dead, long live C!
The abbreviation esz is a tribute to my best friend Ertugrul Söylemez, who suddenly passed away on May 12th, 2018. We all miss you deeply.
The program has been successfully compiled and tested with the following libraries:
First clone the repository including the submodules:
The easiest way to get eszFW up and running is Visual Studio 2019 with C++ CMake tools for Windows installed. Just open the project inside the IDE and everything else is set up automatically.
Alternatively just use MSYS2 with CMake and a compiler of your choice.
To compile eszFW and the included demo application, simply use CMake e.g.:
If you wanna compile eszFW with libTMX instead of cute_tiled, just enable the respective CMake option:
Licence and Credits
cute_tiled by Randy Gaul is licensed under the zlib licence.
TMX C Loader by Bayle Jonathan is licensed under a BSD 2-Clause "Simplified" Licence.
This project and all further listed libraries are licensed under the "The MIT License". See the file LICENSE.md for details.
cwalk by Leonard Iklé.
picolog by James McLean.
Every other work that is not explicitly mentioned here is also under public domain.