Skip to content

A game framework that combines Haxe, Ash, HTML5 and Urho3D.

License

Notifications You must be signed in to change notification settings

gogoprog/gengine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Jan 10, 2018
a7f26e1 · Jan 10, 2018
Aug 1, 2017
Aug 4, 2017
Aug 24, 2017
Oct 17, 2017
May 24, 2017
Oct 19, 2017
Jan 10, 2018
Oct 7, 2017
Apr 14, 2016
Oct 7, 2017
Aug 7, 2017
Sep 13, 2017
Apr 1, 2016
Dec 5, 2016

Repository files navigation

gengine

A game framework that combines Haxe, Ash, HTML5 and Urho3D.

Features

  • 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

Documentation

Generated doc pages

Usage

Distribution release

The distributed release provides an emscripten build of the gengine. A local http server is used to run the applications.

Requirements

Commands

Helpers

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 commands
gengine-compile [path-to-your-application] 
# To compile your Haxe code

gengine-run [path-to-your-application] 
# To compile and run the local server

Development

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]