HTML and CSS Reference
In-Depth Information
Figure 4-9. The tile map example in Tiled
Here is a look at what the saved .tmx file will look like in a text editor:
<?xml version="1.0" encoding="UTF-8"?>
<map
<map version= "1.0" orientation= "orthogonal" width= "10" height= "10"
tilewidth= "32" tileheight= "32" >
<tileset
<tileset firstgid= "1" name= "tanks" tilewidth= "32" tileheight= "32" >
<image
<image source= "tanks_sheet.png" //>
</tileset>
</tileset>
<layer
<layer name= "Tile Layer 1" width= "10" height= "10" >
<data
<data encoding= "csv" >
32,31,31,31,1,31,31,31,31,32,
1,1,1,1,1,1,1,1,1,1,
32,1,26,1,26,1,26,1,1,32,
Search WWH ::




Custom Search