Graham,
I’m using a tile layer to ‘draw’ some paths for my enemies to follow which I’ll refer to in code, i.e. check properties in the path tiles. I’m using a single opaque tile to do this in a separate tile layer.
The tiles show on my map when the map loads, why doesn’t this hide them?
local enemyPath = map:getTileLayer("Enemypaths")
enemyPath:hide()
Also is this the best approach, i.e. will I still be able to check for the tiles and reference their properties if they are hidden?
Thanks four your help,
Cheers!
Rob
[import]uid: 12431 topic_id: 7904 reply_id: 307904[/import]