ggfela Posted March 5, 2015 Share Posted March 5, 2015 So I created a tilemap with Tiled. It contains a layer 'terrain' with tiled sprites and a layer 'physics' with polylines for physics. When I create the terrain layer the game struggles in iOS. When I delete the terrain layer the performance is fine. I thought maybe the issue is that the tileset image is to big for iOS. When I manually add the same sprites to the scene the performance is fine, I add them as separate sprites to a group. I just do:addTilesetImagecreateLayer Using autoCull on the layer doesn't change anything. So why do I get such a large performance hit when I create a layer? What is the recommended approach to add a tilemap? Link to comment Share on other sites More sharing options...
Recommended Posts