3D terrain demo using OpenFL, Away3D, and Haxe
YouTube: https://youtu.be/xr2_u2pRKF4
Web Demo: https://jasonsturges.github.io/openfl-away3d-terrain-demo/
- Mouse down — move camera
- f — Launch Full Screen
- w or Arrow Up — forward
- s or Arrow Down — backward
- a or Arrow Left — left
- d or Arrow Right — right
This is a Haxe project, demonstrating a basic 3D terrain with water and skybox, built with OpenFL and Away3D.
If you don't already have Haxe installed, start by installing either Mac, Linux, or Windows packages.
If this is your first time running haxelib, setup by executing the following command:
$ haxelib setup
$ haxelib install lime
$ haxelib run lime setup
$ haxelib install openfl
$ haxelib run openfl setup
$ haxelib install away3d
To run, call openfl test
with a target, such as:
$ cd openfl-away3d-terrain-demo/
$ openfl test html5
For other compiler errors, make sure libraries are updated to the latest versions by calling:
$ haxelib upgrade
This project is free, open-source software under the MIT license.
Copyright 2015-2017 Jason Sturges