mikekasprzak / gel5-sdl2

SDL2+OpenGL runtime for GEL5

Home Page:https://github.com/povrazor/gel5

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

SDL2+OpenGL runtime for GEL5

https://github.com/povrazor/gel5


Languages

Language:C++ 58.6%Language:Makefile 41.4%