An easier way to learn how to use the Haxe core and related technologies.
Tagged with: Haxe, OpenFL, HaxeFlixel
Cloud9 provides remote, cloud-based development enviornments. Under the hood, they provision you a Linux VM with Docker. By default, they provide pre-build environments for Rails, C++, PHP, and other enviornments. But not Haxe.
It turns out that setting up Haxe, OpenFL, and HaxeFlixel is really simple.
tar
URL, eg. http://haxe.org/download/file/3.2.1/haxe-3.2.1-linux64.tar.gz
, and grab it via curl <url>
)haxelib install openfl
.haxelib install flixel
. (Don't forget to install and setup flixel-tools
too.)That's it! You can build your Haxe apps, or your OpenFL/HaxeFlixel games in Flash. To view them:
This opens the SWF in a new window/tab where it runs properly.