Tilengine - The 2D retro graphics engine forum
What causes disabled sprites and layers to be re-enabled? - Printable Version

+- Tilengine - The 2D retro graphics engine forum (http://tilengine.org/forum)
+-- Forum: English forums (http://tilengine.org/forum/forumdisplay.php?fid=3)
+--- Forum: Support (http://tilengine.org/forum/forumdisplay.php?fid=7)
+--- Thread: What causes disabled sprites and layers to be re-enabled? (/showthread.php?tid=108)



What causes disabled sprites and layers to be re-enabled? - b.helyer - 05-26-2018

Setting up menus and things, it's often useful to disable a layer. When returning to it, simply issuing a setTile call to the Tilemap associated with the layer that is disabled seems to reenable it, which is good, but it doesn't seem to be explicitly documented, so wondering what causes Layers and Sprites that have been disabled to be enabled.


RE: What causes disabled sprites and layers to be re-enabled? - megamarc - 05-30-2018

Good point, I've never tried to modify tilemaps on disabled layers. Of course this seems counter-intuitive, I'll check it Smile