Apparently, I missed all the info that the repo had to offer on this matter. So now I'm trying to implement the simplest of the FlxUISubStates like this:
class TestUIState extends FlxUISubState
{
override public function create()
{
_xml_id = "uiTest";
super.create();
}
}
And the xml is looking like this:
<?xml version="1.0" encoding="utf-8" ?>
<data>
<sprite src="ui/reference" x="0" y="0"/>
</data>
Both assets/gfx/ui/reference.png and assets/xml/uiTest.xml exist, but nothing's being shown in the screen. There's also a FlxState that adds that FlxUISubstate like this:
override public function create():Void
{
super.create();
add(new TestUIState());
}
And that's it. If I get it to show the image, I feel that I would get on track to proper UI making.
Thanks a lot!