-
-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Labels
readyIn the dev branch, but not yet on master (not available as a package)In the dev branch, but not yet on master (not available as a package)
Description
Thanks for your library.
Object IDs using templates are duplicated.
using DotTiled.Serialization;
var loader = Loader.Default();
var map = loader.LoadMap("./map.tmx");
<?xml version="1.0" encoding="UTF-8"?>
<map version="1.10" tiledversion="1.11.0" orientation="orthogonal" renderorder="right-down" width="64" height="64" tilewidth="16" tileheight="16" infinite="1" nextlayerid="2" nextobjectid="3">
<tileset firstgid="1" source="tiles.tsx"/>
<layer id="1" name="Tile Layer 1" width="64" height="64">
<data encoding="csv">
<chunk x="0" y="0" width="16" height="16">
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
1,1,1,1,2,1,1,1,1,1,1,1,1,1,1,1,
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1
</chunk>
</data>
</layer>
<objectgroup id="3" name="Object Layer 1">
<object id="1" template="template.tx" x="80" y="144"/>
<object id="2" template="template.tx" x="48" y="144"/>
</objectgroup>
</map>
<?xml version="1.0" encoding="UTF-8"?>
<template>
<tileset firstgid="1" source="tiles.tsx"/>
<object gid="4" width="16" height="16">
</object>
</template>
<?xml version="1.0" encoding="UTF-8"?>
<tileset version="1.10" tiledversion="1.11.0" name="Tiles" tilewidth="16" tileheight="16" tilecount="4" columns="2">
<grid orientation="orthogonal" width="32" height="32"/>
<image source="../../../Pictures/Tiles.png" width="32" height="32"/>
</tileset>
Metadata
Metadata
Assignees
Labels
readyIn the dev branch, but not yet on master (not available as a package)In the dev branch, but not yet on master (not available as a package)