I’m trying to use a TMX tileset / tilemap created by Tiled Map Editor, but I’m getting errors because the parser says there are no tiles defined.
I know that GZIP is not supported, so I switched to uncompressed XML and I’m just using the example “isometric_grass_and_water” file that comes with Tiled.
I’ve pasted the top part of the file below..
The error I get its
cocos2d: Warning: TMX Layer Tile Layer 1 has no tiles
TypeError: textureCache is undefined cocos2d-html5/cocos2d/tileMap_parallax_nodes/CCTMXLayer.js:452
But there are tiles defined in Layer 1, so this looks like some sort of parseing problem, or the TMX file is not in the expected format.
Does anyone know why this is not working?
<?xml version="1.0" encoding="UTF-8"?>