1 decade ago by Ptg
So this follows on from the problem mentioned here:
http://impactjs.com/forums/help/entities-that-inconsistently-overlap
Of course now we have the autoSort and sortBy settings to easily overcome this issue between entities.
My problem is that I have the same requirements but also when it comes to 'foreground' map tiles. I.e. Entities below map tiles should be drawn above, while entities above tiles should be drawn behind them.
One option would be to make/convert map tiles into entities, but I am posting to see if there is perhaps a better alternative? I certainly want to continue using weltmeister to design the levels, and I am sure converting most map tiles to entities would be somewhat inefficient.
I am happy to dig into the code a bit and implement something, but I was wondering if other people already had a go at this type of thing?
http://impactjs.com/forums/help/entities-that-inconsistently-overlap
Of course now we have the autoSort and sortBy settings to easily overcome this issue between entities.
My problem is that I have the same requirements but also when it comes to 'foreground' map tiles. I.e. Entities below map tiles should be drawn above, while entities above tiles should be drawn behind them.
One option would be to make/convert map tiles into entities, but I am posting to see if there is perhaps a better alternative? I certainly want to continue using weltmeister to design the levels, and I am sure converting most map tiles to entities would be somewhat inefficient.
I am happy to dig into the code a bit and implement something, but I was wondering if other people already had a go at this type of thing?