Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/openfl/openfl-samples
Haxelib-based OpenFL sample projects
https://github.com/openfl/openfl-samples
haxe openfl openfl-samples
Last synced: about 2 months ago
JSON representation
Haxelib-based OpenFL sample projects
- Host: GitHub
- URL: https://github.com/openfl/openfl-samples
- Owner: openfl
- License: mit
- Created: 2013-04-22T18:53:16.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2024-07-19T16:10:34.000Z (6 months ago)
- Last Synced: 2024-10-30T00:55:00.926Z (2 months ago)
- Topics: haxe, openfl, openfl-samples
- Language: Haxe
- Homepage: http://www.openfl.org
- Size: 8.09 MB
- Stars: 78
- Watchers: 15
- Forks: 41
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
[![MIT License](https://img.shields.io/badge/license-MIT-blue.svg?style=flat)](LICENSE.md) [![Haxelib Version](https://img.shields.io/github/tag/openfl/openfl-samples.svg?style=flat&label=haxelib)](http://lib.haxe.org/p/openfl-samples)
OpenFL Samples
==============_Haxelib-based samples are located here, check out [https://github.com/openfl/openfl-samples-haxe](https://github.com/openfl/openfl-samples-haxe) for NPM-based samples._
A collection of sample projects illustrating different [OpenFL](https://www.openfl.org/) features.
Installation
------------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 https://github.com/openfl/openfl-samples
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