Skip to content

The Flixel backend of the HaxeUI framework

License

Notifications You must be signed in to change notification settings

Sword352/haxeui-flixel

 
 

Repository files navigation

build status

haxeui-flixel

haxeui-flixel is the Flixel backend for HaxeUI.

Installation

haxeui-flixel relies on haxeui-core as well as Flixel. To install:

haxelib install flixel
haxelib install haxeui-core
haxelib install haxeui-flixel

Usage

After installing Lime, OpenFL, Flixel, haxeui-core, and haxeui-flixel, the latter three should be included in project.xml. In the future, including haxeui-flixel will also handle the dependencies automatically.

<haxelib name="flixel" />
<haxelib name="haxeui-core" />
<haxelib name="haxeui-flixel" />

Toolkit initialization and usage

Before you start using HaxeUI in your project, you must first initialize the Toolkit.

Toolkit.init();

Once the toolkit is initialized, you can add components using the methods specified here.

var app = new HaxeUIApp();
app.ready(
	function() {
		var main = ComponentMacros.buildComponent("assets/xml/test.xml"); // whatever your XML layout path is
		app.addComponent(main);
		app.start();
	}
);

Some examples are here.

Addtional resources

About

The Flixel backend of the HaxeUI framework

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Haxe 99.9%
  • CSS 0.1%