Hello,
Just getting to grips with this myself
So here's my little TMX guide using desert.tmx and tmw_desert_spacing.png from the Tiled download as an example?
1. Menu -> Assets -> Import New Asset? -> tmw_desert_spacing.png
(Or drag it to the Project tab)
2. Menu -> Assets -> Create -> tk2d -> Sprite Collection
(I name it here before saving)
3. In the Inspector -> Open Editor?
(This opens the SpriteCollection Editor, which I dock to stop it disappearing)
Note: If you want to use a tk2dCamera in your Project, you can select it here
(Amongst other things)
4. In the SpriteCollection Editor -> Create -> Sprite Sheet
5. Drag the tmw_desert_spacing.png from the Project to the Sprite Sheet Texture box
(Or use the select button to open the asset window instead)
6. Click Set up at the prompt to go to Edit/Config and set the properties?
Tile Width 32
Tile Height 32
Tile Margin X 1
Tile Margin Y 1
Tile Spacing X 1
Tile Spacing Y 1
Pad Extend
Click Apply AND Commit
7. Menu -> GameObject -> Create Other -> tk2d -> TileMap (Beta)
8. In the Inspector -> Edit
9. Drag the Desert Sprite Collection Object from the Project into the Inspector's Sprite Collection data box
10. Inspector -> Tile Map Data -> Create
(Save it - rename it if you like)
11. Inspector -> Editor Data -> Create
(Save it - rename it if you like)
12.Inspector -> Import -> Import TMX -> desert.tmx
(Commit - although the map will already show, better safe than sorry - may want to adjust the camera)
TA DA DONE!!!
cheers
evs