creative-engine
creative-engine copied to clipboard
Modus Create's portable Game Engine. Runs on the LDK Game console, desktop macOS and Linux
Modus Create presents Creative Engine
This is a library of C++ classes for developing games for the ODROID-GO, the Raspberry Pi, and desktop Linux & MacOS.
The design criteria for this library/game engine are:
- Portability. Games written using Creative Engine should easily port to other devices - it already runs on host and ODROID GO.
- Development using CLion and SDL2 (CMake)
- Run on device via Makefiles. (See ESP32 IDF framework)
- Support for 2D and 3D games
- Extendable through class inheritance
Features
- Double-buffered LCD display driver, running at 30Hz.
- Resource management (and resource compiler).
- Audio driver using LibXMP.
- Rich bitmap classes that support ROM and RAM pixel sources (resources).
- Simple Sprites using sprite sheets.
- Animated Sprites via animation interpreter, inherits from Simple Sprite.
- State machines (processes) for player and enemy logic.
- Develop on host using rich development tools, run on target with little or no effort.
Games that use Creative Engine:
Genus
Boing
Brickout
How Creative Engine works
The following visualization depicts the layers of the various libraries at play.

All platforms
Creative Engine This game engine. It implements LibXMP, SDL2, ESP-IDF (Audio, Video and Input drivers).
LibXMP is a fantastic cross-platform library for playing music using the Xtended Module (XM) format and also has additional functionality to play sound effects.\
Rcomp is a CLI tool that takes any binary resources and packages (graphic, audio, etc.) them into a binary blob to be included in the game executable and is part of Creative Engine.
macOS, Linux
SDL2 is a cross-platform low-level media layer framework. Creative Engine generates audio data with LibXMP and feeds it into the SDL2 audio runloo and does similar to present visuals in the application window as well as poll for keyboard input to allow for gameplay.
ODROID GO
Espressif IoT development Framework (ESP IDF) is a low level framework for accessing capabilities of the ESP32-WOVER SOC.
Set up
See our developer guide for instructions on getting things set up.
Modus Create
Modus Create is a digital product consultancy. We use a distributed team of the best talent in the world to offer a full suite of digital product design-build services; ranging from consumer facing apps, to digital migration, to agile development training, and business transformation.
This project is part of Modus Labs.
License
Creative Engine is licensed under MIT and contains a heavily modified version of LibXMP.
Contributing
Interested in contributing to Genus? Please see our contributions guidelines.


