Skip to content

ModusCreateOrg/creative-engine

Repository files navigation

Modus Create presents Creative Engine

Build Status MIT Licensed Powered by Modus_Create

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:

  1. Portability. Games written using Creative Engine should easily port to other devices - it already runs on host and ODROID GO.
  2. Development using CLion and SDL2 (CMake)
  3. Run on device via Makefiles. (See ESP32 IDF framework)
  4. Support for 2D and 3D games
  5. Extendable through class inheritance

Features

  1. Double-buffered LCD display driver, running at 30Hz.
  2. Resource management (and resource compiler).
  3. Audio driver using LibXMP.
  4. Rich bitmap classes that support ROM and RAM pixel sources (resources).
  5. Simple Sprites using sprite sheets.
  6. Animated Sprites via animation interpreter, inherits from Simple Sprite.
  7. State machines (processes) for player and enemy logic.
  8. Develop on host using rich development tools, run on target with little or no effort.

Games that use Creative Engine:

./md/img/genus-gameplay.gif

./md/img/boing-gameplay.gif

./md/img/brickout-gameplay.gif

How Creative Engine works

The following visualization depicts the layers of the various libraries at play. genus-block-diagram

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.

Modus Create

This project is part of Modus Labs.

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.