Added initial support for Tiled maps

This commit is contained in:
2019-10-11 13:17:59 -05:00
parent e67325e831
commit 44e9dcf7d7
11 changed files with 292 additions and 101 deletions

View File

@@ -1,4 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<tileset version="1.2" tiledversion="1.2.1" name="default" tilewidth="32" tileheight="32" tilecount="4" columns="4">
<tileset version="1.2" tiledversion="1.2.4" name="default" tilewidth="32" tileheight="32" tilecount="4" columns="4">
<image source="default.png" trans="ffffff" width="128" height="32"/>
<tile id="0" type="ground">
<properties>
<property name="travel_cost" type="float" value="1"/>
</properties>
</tile>
<tile id="1" type="ground">
<properties>
<property name="travel_cost" type="float" value="1"/>
</properties>
</tile>
<tile id="2" type="ground">
<properties>
<property name="travel_cost" type="float" value="2"/>
</properties>
</tile>
<tile id="3" type="water">
<properties>
<property name="travel_cost" type="float" value="1"/>
</properties>
</tile>
</tileset>