Browse code

Added terrain information to isometric example

Thorbjørn Lindeijer authored on 24/05/2012 21:58:59
Showing 1 changed files
... ...
@@ -1,13 +1,40 @@
1 1
 <?xml version="1.0" encoding="UTF-8"?>
2
-<!DOCTYPE map SYSTEM "http://mapeditor.org/dtd/1.0/map.dtd">
3 2
 <map version="1.0" orientation="isometric" width="25" height="25" tilewidth="64" tileheight="32">
4 3
  <tileset firstgid="1" name="isometric_grass_and_water" tilewidth="64" tileheight="64">
5 4
   <tileoffset x="0" y="16"/>
6 5
   <image source="isometric_grass_and_water.png" width="256" height="384"/>
6
+  <terraintypes>
7
+   <terrain name="Grass" tile="0" distances=",0,1"/>
8
+   <terrain name="Water" tile="22" distances=",1,0"/>
9
+  </terraintypes>
10
+  <tile id="0" terrain="0,0,0,0"/>
11
+  <tile id="1" terrain="0,0,0,0"/>
12
+  <tile id="2" terrain="0,0,0,0"/>
13
+  <tile id="3" terrain="0,0,0,0"/>
14
+  <tile id="4" terrain="0,0,0,1"/>
15
+  <tile id="5" terrain="0,0,1,0"/>
16
+  <tile id="6" terrain="1,0,0,0"/>
17
+  <tile id="7" terrain="0,1,0,0"/>
18
+  <tile id="8" terrain="0,1,1,1"/>
19
+  <tile id="9" terrain="1,0,1,1"/>
20
+  <tile id="10" terrain="1,1,1,0"/>
21
+  <tile id="11" terrain="1,1,0,1"/>
22
+  <tile id="12" terrain="0,0,1,1"/>
23
+  <tile id="13" terrain="1,0,1,0"/>
24
+  <tile id="14" terrain="1,1,0,0"/>
25
+  <tile id="15" terrain="0,1,0,1"/>
26
+  <tile id="16" terrain="0,0,1,1"/>
27
+  <tile id="17" terrain="1,0,1,0"/>
28
+  <tile id="18" terrain="1,1,0,0"/>
29
+  <tile id="19" terrain="0,1,0,1"/>
30
+  <tile id="20" terrain="0,1,1,0"/>
31
+  <tile id="21" terrain="1,0,0,1"/>
32
+  <tile id="22" terrain="1,1,1,1"/>
33
+  <tile id="23" terrain="1,1,1,1"/>
7 34
  </tileset>
8 35
  <layer name="Tile Layer 1" width="25" height="25">
9
-  <data encoding="base64" compression="gzip">
10
-   H4sIAAAAAAAAA32V227DMAxDpTpb13Uvazu0//+lc4AIJU6oPAiJHVsXklJeEfGa9jTPeq/1edpps5y2yHps62X7NuRd/T3hW2PccL+eznfFr2+df83/KjUwxiL+WFOdJx6Mof7Vn+ar2GlNKTGIj77f5J7mqTi5enSffte8fwwPej/Bfcoea8vY4/Q97QIe6h79jfB1Ka6uDvKs/Gbsua69Tsfr+t4Y/WvOGV7DysPA2VN4TgvTj2mfkrfGIr/ENA/i6Z2vrS7y7mKTC8dP7bGHdW/1/TvtL/aaIGaKqeLEfmOOj3j3jmqUvdnlSLzIbyJGxwtr0v5hLkvssdAYeoda0fyVy24+FMcrDxfEcFyzTznTmJPqy/WQm5fEjfgRp6PZ5+akmzcdpt0Zxu1mgPaG455zx/E2cFZ7mziQM6eNTiuO2yPtd3OaXLmeG/Db5UGO2R9O45yp1DJr7/BxGJAXziHOBuWJ/wP+O/nPUD1QL+X3H78y42PECQAA
36
+  <data encoding="base64" compression="zlib">
37
+   eJx1lttywjAMROVgyqVtAoFC/v9L68xoh5PFPGhIYktrrVYyS0QszZ7Nvpvd0n7y24L1Q7MhrTSreN/le821HZ7lv9qYa6sdE0cYs/kX7PXYwtfaevYp7WDrd+SnHByjYr/npP1zZ4/elcuM71rjeckdc5KNHX75fMwc9s2uzb6AsYstJzwrv5/Tz89SLIZy8v203llV8xl7yMU+462/v81OqA114/UhrzUxRqwprnh6ZGzp2PNQfPqRu/X9hnMV8F/xLg1L42erDf2oaa2RI2qPtbgbhmw2H69nMUxx/gVccXdC3AW/o/HV60vW59Lhu8arDxmfGIPFUV1qbLVQEIs4PlOeHQxqVjmzr5mLYsmf+5Qj5yM1r3Ne4p1D5VcMh3qWZibLx2fYkBhPYOv81I9wbrGd45zFU7zrndpwDjkHXXfej9zHc3EG+D3AWcCZMJif7hTnVxr6i9edtoBDz8N7kxqbY6sN9gJnsnqIOqCme7Un76579sIV8dccHvHqZefH76BP9wjzkVapM2rL+5/8cR6QS9eh8p2AT12y5oO9+7yh5hzLZypnHX29/pzB9PE7bOg8Mza5KvGu4R7mp/89zqvr7x+TnxEn
11 38
   </data>
12 39
  </layer>
13 40
 </map>