A game framework that combines Haxe, Ash, HTML5 and Urho3D.
- Gameplay code in Haxe (JavaScript support through v8 or embind)
- Ash framework integrated
- UI in HTML5 (Chromium Embedded Framework on native platforms)
- Most Urho3D features
- HTML5 WebGL target support
The distributed release provides an emscripten build of the gengine. A local http server is used to run the applications.
Those are the scripts located at the root of the gengine distributed release.
./gengine.sh
# Activates the gengine commands
./gengine-compile.(bat/sh) [path-to-your-application]
# Compiles the application haxe code.
./gengine-run.(bat/sh) [path-to-your-application]
# Compiles and runs the local server
gengine-compile [path-to-your-application]
# To compile your Haxe code
gengine-run [path-to-your-application]
# To compile and run the local server
Activate the gengine environment :
source path/to/gengine/scripts/activate
First time build including Urho3D :
gengine-build --urho3d [-d] [--html5] [path-to-your-application-code]
Next times build :
gengine-build [-d] [--html5] [path-to-your-application-code]
Build and run on native platforms :
gengine-run [-d] [path-to-your-application-code]