gogoprog / gengine

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

Home Page:http://gengine.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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]

About

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

http://gengine.net

License:MIT License


Languages

Language:HLSL 41.4%Language:GLSL 35.9%Language:C++ 9.2%Language:Haxe 5.3%Language:HTML 3.8%Language:Python 3.1%Language:Lua 0.9%Language:Shell 0.1%Language:JavaScript 0.1%Language:Vim Script 0.0%