OpenFL samples

To install, run:

haxelib install openfl-samples 6.0.0 

See using Haxelib in Haxelib documentation for more information.

MIT License Haxelib Version Build Status

OpenFL Samples

A collection of sample projects illustrating different OpenFL features.


haxelib install openfl
haxelib run openfl setup

The openfl-samples library will be installed automatically. If you need to install it alone, you can use the following command:

haxelib install openfl-samples

Listing Samples

You can browse the project directory, but it is generally simpler to use the following command to list available OpenFL samples:

openfl create

Creating Samples

Once you find a sample you would like to create, you can generate a copy using the "create" command:

openfl create PiratePig

This creates a copy in the current directory, but you can also specify an output directory if you prefer:

openfl create DisplayingABitmap BitmapTest

Development Builds

Clone the openfl-samples repository:

git clone

Tell haxelib where your development copy of openfl-samples is installed:

haxelib dev openfl-samples openfl-samples

To return to release builds:

haxelib dev openfl-samples
10 months ago

All libraries are free

Every month, more than thousand developers use haxelib to find, share, and reuse code — and assemble it in powerful new ways. Enjoy Haxe; It is great!

Explore Haxe

Haxe Manual

Haxe Code Cookbook

Haxe API documentation

You can try Haxe in the browser!

Join us on Github!

Haxe is being developed on GitHub. Feel free to contribute or report issues to our projects.

Haxe on Github