Home - manno-xx/haxe-openfl-examples GitHub Wiki
Welcome to the haxe-openfl-examples wiki!
This is a bucket of examples in Haxe and OpenFL. Level ranges from very basic to ...(?) Examples are not structured to go from novice to expert or anything. Just a bucket of examples. Below is a quick overview in categories. Some link to an explanation on the subject at hand. Some examples appear in multiple categories. (all diagrams are done with Lucidchart)
General programming
- ArrayExampleOne
- generate a map with Cellular Automata
- Singleton
- State Machine
- StaticVariables
- TimeBasedAnimation
- UIProgressBar
Haxe specific features
OpenFL specific
- CollisionDetectionAABB
- EditableTextOpenFL
- FontDisplay
- KeyboardEvent_01
- MoveToFront: Move an on screen element to front
- PlaySound: Basic playing sounds demo
- ScreenSwitcher (Divvy up an application in the classes that represent its screens)
- SpriteAnimation, playing an animation in a sprite sheet
- UIProgressBar
- URLLoader: loading external data over the internet