Hey, forum
I am back tp work with my game and now it seems that getTileAt(pos) doesnt work anymore. How can get a tile by position in a TiledLayer
object? I tried getTiledTileAt(pos) but its not working… Any feedback would be greatly appreciated.
Update: this was the old method:
https://docs.cocos2d-x.org/api-ref/creator/v1.7/en/classes/TiledLayer.html#gettileat
what is the new one?
Thanks!
Edit: found it! I was missing the last parameter at getTiledTileAt