Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jasonsturges/openfl-away3d-terrain-demo

3D terrain demo using OpenFL, Away3D, and Haxe
https://github.com/jasonsturges/openfl-away3d-terrain-demo

3d-terrain away3d haxe openfl

Last synced: about 2 months ago
JSON representation

3D terrain demo using OpenFL, Away3D, and Haxe

Awesome Lists containing this project

README

        

# OpenFL Away3D Terrain Demo
3D terrain demo using OpenFL, Away3D, and Haxe

![screen-capture](https://user-images.githubusercontent.com/1213591/106400341-68171000-63e3-11eb-8d20-d5ea456152dc.png)

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

## Getting started

This is a [Haxe](http://haxe.org/) project, demonstrating a basic 3D terrain with water and skybox, built with [OpenFL](http://www.openfl.org/) and [Away3D](http://away3d.com/).

### Install Haxe

If you don't already have Haxe installed, start by [installing](http://haxe.org/download/) 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

## Building and running

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

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

## Troubleshooting

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

$ haxelib upgrade

## License

This project is free, open-source software under the [MIT license](LICENSE.md).

Copyright 2015-2017 [Jason Sturges](http://jasonsturges.com)