Calling CCTileMapLayer.SetTileGID to change tilemap tile graphic causes app to hang

Hi,

I'm hosting a CocosSharp 1.7.1 game in Xamarin.Forms on Android. I'm using a hex map created using Tiled as my game board. The tile map loads fine and I can create sprites and add to the game layers. However, whenever I try to dynamically alter a tile graphic to use a different tile within the same tileset or even EmptyTile using CCTileMapLayer.SetTileGID the app hangs.

Any suggestions on how I can dynamically change the tile graphics or any ideas on what I'm doing wrong gratefully received.

Cheers, P.

Sign In or Register to comment.