System Objects - Qwarkster/gamesys GitHub Wiki

Engine

This is the core engine houses all of the running systems and processes. An application using Gamesys would create an engine instance and operate on it from there. It contains all of the game content as well as the basic core game looping and interface methods. The only requirement is the same requirements on a run function that will run on the main thread, as per the pixel graphics library that it uses. A simple app would create a run function with some game initialization and then call Engine.Run() at the end of that function. This function in turn would be run from the main function, via pixelgl.Run(run). I'll create a more sane example in a bit.

Configuration

Script

ScriptAction

Controller