mirror of
https://github.com/cyberarm/i-mic-rts.git
synced 2025-12-14 15:22:34 +00:00
Added initial support for Tiled maps
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 4.6 KiB After Width: | Height: | Size: 4.8 KiB |
@@ -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>
|
||||
|
||||
BIN
assets/tilesets/ore.png
Normal file
BIN
assets/tilesets/ore.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.6 KiB |
6
assets/tilesets/ore.tsx
Normal file
6
assets/tilesets/ore.tsx
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<tileset version="1.2" tiledversion="1.2.4" name="ore" tilewidth="32" tileheight="32" tilecount="4" columns="4">
|
||||
<image source="ore.png" width="128" height="32"/>
|
||||
<tile id="0" type="ore"/>
|
||||
<tile id="1" type="ore"/>
|
||||
</tileset>
|
||||
Reference in New Issue
Block a user