base: Added sample for tile flags
authorLukas Krickl <lukas@krickl.dev>
Sun, 4 May 2025 18:41:24 +0000 (20:41 +0200)
committerLukas Krickl <lukas@krickl.dev>
Sun, 4 May 2025 18:41:24 +0000 (20:41 +0200)
maps/base.tmx

index e097839460ed706d69e596746c5f2ae2b56df549..da45d5be56dce6540e50ae13ea2a927b4f3cb8de 100644 (file)
@@ -2,6 +2,11 @@
 <map version="1.10" tiledversion="1.11.2" orientation="orthogonal" renderorder="right-down" width="32" height="24" tilewidth="8" tileheight="8" infinite="0" nextlayerid="2" nextobjectid="1">
  <tileset firstgid="1" name="tiles1" tilewidth="8" tileheight="8" tilecount="128" columns="16">
   <image source="../tiles/bank9000.png" width="128" height="64"/>
+  <tile id="107">
+   <properties>
+    <property name="f_collision" type="bool" value="true"/>
+   </properties>
+  </tile>
  </tileset>
  <layer id="1" name="bg" width="32" height="24">
   <data encoding="csv">