Skip to content

gogoprog/gengine

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
res
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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]