luxeengine / alpha

alpha - deprecated 2015~2016. unrelated to the new engine! view the new engine here - https://luxeengine.com/
MIT License
565 stars 74 forks source link

Tilemap; Added an optional depth property for each layer #350

Closed mrcdk closed 4 years ago

mrcdk commented 8 years ago

Must be set before tilemap.display()

ruby0x1 commented 8 years ago

I don't know if it's a good idea to couple the rendering state to the logical state - which is why they're separate. The tilemap is just data, tying in rendering specifics at this level is not ideal.

It's not a bad idea to facilitate the layer rendering depth but I will only be able to look at the details once I finish with the snow alpha-2.0 upstream atm