Open zloop1982 opened 8 years ago
Is there an limitation "one layer only use one image"? Or, "one layer only use one tilesize"?
I split the metal,rock,wall in different layer, and then, seems better.
finally set every tielset's tilewidth and tileheight to 64 as the map set , get correct result.
yeah there's definitely a one tileset per layer limitation in the cocos2d tilemap renderer
Steps to Reproduce:
try to load tiled map attached here:tilemap.zip
use this code :
var map = new cc.TMXTiledMap(res.map_tmx);
this.addChild(map, 2, TAG_TILE_MAP);
NOTE: in this map , each tileset only have one image. but have 8 tilesets.
tilemap.zip