Skip to content

gogoprog/gengine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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]