Skip to content

Architecture Overview

Michael Schwartz edited this page Sep 20, 2018 · 16 revisions

creative-engine is designed to be a comprehensive library for developing games and applications for the Odroid-Go platform. It is also designed to be portable to other platforms, including Mac/Linux using libsdl2.

The MacOS/Linux (host) build is intended to use CLion IDE, which allows for full featured debugging of game logic.

Host build is selected by adding -DHOST to the gcc command lines in CMakeLists.txt.

Instead of rendering to the Odroid Go display, the host version uses libsdl2 to open a window in the same format as the device's LCD.

The Display class renders to libsdl2 if on host, or renders via SPI bus on device.

The Display class manages two BBitmaps: one that is being rendered to the physical display and one that the game logic is rendering to, preparing the next frame's graphics.

Clone this wiki locally