Tilengine - The 2D retro graphics engine forum

Full Version: What causes disabled sprites and layers to be re-enabled?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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.
Good point, I've never tried to modify tilemaps on disabled layers. Of course this seems counter-intuitive, I'll check it Smile