/gel5-sdl2

SDL2+OpenGL runtime for GEL5

Primary LanguageC++

GEL5 - Native C/C++ Runtime (using SDL2 and OpenGL)

C/C++ runtime for GEL5, the 5th generation version of GEL (Game Engine Library).

https://github.com/povrazor/gel5

See https://github.com/povrazor/gel5-html for the native HTML runtime.

Setting up a GEL5 SDL2 project

Prerequisites

You'll need to install several preprequisites (SLD2, v8). See instructions here:

https://github.com/povrazor/gel5-sdl2/wiki/Building

You'll then need to edit a file config.mk to tell the toolchain where to find things. You can use config-sample.mk as a starting point (or just copy it to config.mk, and use it as is).

Building the Runtime

You can build the runtime using make.

make

Make only needs to be run when you make changes to the runtime. While working on your game, you only need to refresh.

Adding Sources

Put your source files (i.e. main.js) in /src/.

Alternatively, follow the instructions here if you want to work from the sample:

https://github.com/povrazor/gel5-sample