OpenFL Away3D Terrain Demo

Here's a preview of my upcoming alpha release of my Blitting engine ported to OpenFL:

Built with OpenFL, Away3D, and Haxe, terrain example below targets html5 platform to run within a browser:

Launch website

Source code available at GitHub

Getting started

This is a Haxe project, demonstrating a basic 3D terrain with water and skybox, built with OpenFL and Away3D.

Install Haxe

If you don't already have Haxe installed, start by installing either Mac, Linux, or Windows packages.

Library Dependencies

If this is your first time running haxelib, setup by executing the following command:

$ haxelib setup
Install Lime
$ haxelib install lime
$ haxelib run lime setup
Install OpenFL
$ haxelib install openfl
$ haxelib run openfl setup
Install Away3D
$ haxelib install away3d

For other compiler errors, make sure libraries are updated to the latest versions by calling:

$ haxelib upgrade

Building and running

To run, call openfl test with a target, such as:

$ cd openfl-away3d-terrain-demo/
$ openfl test html5

And you end up with:


Launch demo: screen capture


screen capture


Launch demo: screen capture