Seperate map and asset directories

This commit is contained in:
2025-01-07 14:35:46 +00:00
parent a82586f327
commit 0cbc541bce
13 changed files with 17 additions and 20 deletions

10
map/templates/flag.tx Normal file
View File

@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<template>
<tileset firstgid="1" source="../objectsprites.tsx"/>
<object type="0" gid="1" width="32" height="64">
<properties>
<property name="animframes" type="int" value="5"/>
<property name="assetpath" value="/obj/flag.png"/>
</properties>
</object>
</template>

10
map/templates/fountain.tx Normal file
View File

@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<template>
<tileset firstgid="1" source="../objectsprites.tsx"/>
<object type="1" gid="2" width="48" height="48">
<properties>
<property name="animframes" type="int" value="3"/>
<property name="assetpath" value="/obj/fountain.png"/>
</properties>
</object>
</template>

10
map/templates/house.tx Normal file
View File

@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<template>
<tileset firstgid="1" source="../objectsprites.tsx"/>
<object type="2" gid="3" width="80" height="80">
<properties>
<property name="animframes" type="int" value="1"/>
<property name="assetpath" value="/obj/house.png"/>
</properties>
</object>
</template>

10
map/templates/tower.tx Normal file
View File

@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<template>
<tileset firstgid="1" source="../objectsprites.tsx"/>
<object type="3" gid="4" width="48" height="128">
<properties>
<property name="animframes" type="int" value="1"/>
<property name="assetpath" value="/obj/tower.png"/>
</properties>
</object>
</template>

View File

@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<template>
<tileset firstgid="1" source="../objectsprites.tsx"/>
<object type="4" gid="5" width="48" height="64">
<properties>
<property name="animframes" type="int" value="3"/>
<property name="assetpath" value="/obj/waterfall.png"/>
</properties>
</object>
</template>