You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 24, 2018. It is now read-only.
As I understand it, an openfl-tiled map (at least in Flash) consists of a single big bitmap containing all layers flattened together. While that's great for terrain or walls or other immutable tiles, it's not friendly for stuff that can change, like open-able doors or collect-able objects or monsters. Putting something in a map that can move or change would require (a) some kind of "refresh a single square" command that I don't think exists or (2) a hack like putting all move-able objects on invisible layers so you can manually add individual sprites for all movable objects or (3) never adding a map to the stage and just writing my own map-builder using the underlying layer/tile data.
Not sure if there's a layer property for it, but it'd be nice if I could say "these layers are frozen" which would make one big flattened bitmap of those layers or "these layers are dynamic" which will make a sparse array of individual sprites.
Apologies in advance if I'm futzing with the design. I've been using openfl-tiled for all of one day and am just looking how things would interact with my design :)