(Click to watch on YouTube)
Feel free to steal some code parts (CMake? :) )
The game was done in OpenGL 4.0 by me from complete scratch within 2 months as a part of gaining my C++ skills. I had to do everything from scratch (that was a requirements for this assessment). Things are implemented here:
- The model format, the converter and the loader.
- The resource pipeline, built with CMake. It compiles resources (models and images) to an internal format incrementally, taking into an account the file hierarchy of an arbitrary deepness . Thus, it doesn't recompile the same things again and again, causing slow buildings.
- Math problems: collisions, jumps, navigation.
- GPU particle system.
- Bots, that can navigate throw the whole level.
- Simple dynamic lighting (that's under the character).
- It's cross-platform and tested under Windows 8 and Ubuntu 18.04.
- Level "Design" :)
Libraries and tools used:
- SDL 2 (cross-platform graphics initialization, work with input)
- CMake (for the resource pipeline and building everything up)
- Standard C++ library (shared_ptr and vector only)
- Python (the model converter is written in Python 3)
- PVRTexToolCLI for converting images in the resource pipeline.
In docs-src
you can see docs in Sphinx format