Hi, Im testing tmxmap samples, and i have some questions: 1. is tsx file supported? 2. when creating platform-games, maybe my player/enmies is bigger/smaller current tile'size. How can I set tile position exactly as i set on TiledMap?
Hi, in Tiled, we have option to add external tileset (*.tsx file). i tested but it didnt work. The 2sd, i create a layer with 32x32 tileset. Now, i want to add new 64x64 tileset. Map is loaded, but 64x64 tile's position is not exact as i want, example: i place a 64x64 tile on row 1 and col 1 ("32,32" on the map), when map is drawn, this tile is placed at "64,64"
I finally understand that current implementation cannot handle the case when tilemap and tileset have different sizes (16px vs. 32px). It will be available with the next release (February 7th).
Comments
Only the Lua exporter of Tiled is supported. But previously (with version 0.7.0) the exported file was like:
(I cannot understand your 2nd question)
in Tiled, we have option to add external tileset (*.tsx file). i tested but it didnt work.
The 2sd, i create a layer with 32x32 tileset. Now, i want to add new 64x64 tileset. Map is loaded, but 64x64 tile's position is not exact as i want, example: i place a 64x64 tile on row 1 and col 1 ("32,32" on the map), when map is drawn, this tile is placed at "64,64"
i think we should set tile position base on tilewidth and tileheight of map and/or adding setPosition method.
Thank you
Just one more question : can i get individual region (TextureRegion) of tileset's texture through TileMap?
I've extended the TileMap. Now tilemap and tileset can have different sizes. Thank you for catching this.