Game Development Community

MoveTo() on tile layer

by Nigel Kelly · in Technical Issues · 09/14/2009 (9:07 am) · 1 replies

Hello

I got the moveTo() function work fine on an static sprite object, but when I try it on a tile layer it does not work. Does moveTo() work on tile maps/layers? If not what are the work arounds?

Thnks

#1
09/15/2009 (6:04 am)
Hi. I got this to work. The tile layer I was trying to move had the same object name as another tile layer in another level. Also it had the same file name as another tile layer. So need to be careful with tile layers when you start building new levels.