How to draw all Tile Layers in a Tile Group?
Posted: Thu Oct 13, 2022 5:49 pm
Hello!
I'm using the STI (Simple Tiled Implementation) and I'm trying to draw all the tiles in a group layer called "Grass." I searched the STI documentation and I couldn't find a way to do this, and when I tried calling
I just got an error. How can I achieve this?
Here's an image showing the layout of my Tiled tile layers: Thanks for any help!
I'm using the STI (Simple Tiled Implementation) and I'm trying to draw all the tiles in a group layer called "Grass." I searched the STI documentation and I couldn't find a way to do this, and when I tried calling
Code: Select all
testmap:drawLayer(testmap.layers["Grass"])
Here's an image showing the layout of my Tiled tile layers: Thanks for any help!