flixel-studio icon indicating copy to clipboard operation
flixel-studio copied to clipboard

Consider using FlxScene for persistent state storage

Open al-arz opened this issue 5 years ago • 1 comments

As mentioned in HaxeFlixel/flixel-addons#142 by its author, FlxScene was created with some kind of scene editor (perhaps similar to flixel-studio) in mind. We'll need a saver producing compatible XML, but at least we don't have to write a parser/loader from scratch.

FlxScene demo source: https://github.com/HaxeFlixel/flixel-demos/tree/master/Features/FlxScene

al-arz avatar Dec 25 '18 08:12 al-arz

Thanks for the great tip! I was not aware of FlxScene, it looks like a perfect foundation to build upon. My only concern is that FlxScene XML file structure is not compatible with other tools, e.g. the very popular Tiled editor.

It would be great to allow developers to interoperate with different tools when making levels/scenes.

Dovyski avatar Dec 26 '18 08:12 Dovyski