I'm new to Flixel, but I've been a Haxe+Heaps user for years.
I'm currently working on the HaxeFlixel dedicated API to display levels created in my level editor LDtk (https://ldtk.io).
I have a FlxTileFrames containing the tile atlas used for this level, and a large bunch of tile IDs that refer to frames in this atlas. Now I want to display them in the most optimized way.
- Right now I just create a ton of
FlxSpriteand add them to a
FlxGroup, which sounds like something very awful (can you confirm?)
- tiles are not necessarily aligned with the grid, so it seems I can't use
So how should I handle that? If you know HeapsIO framework, there's a
h2d.TileGroup that handles that (a display object containing many tiles from a single atlas, each with a free x/y pixel coord). Is there any equivalent?