-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libtiled-java: Added support for manipulating non-consecutive tile ID…
…s in a tileset. This implementation adds a new tiles field in TileSet whose values are "synchronized" on marshal and unmarshal operations via "class defined" event callbacks with the generated internalTiles attribute in TileSetData. See https://docs.oracle.com/javase/7/docs/api/javax/xml/bind/Marshaller.html.
- Loading branch information
1 parent
83cfbf6
commit a4db8de
Showing
6 changed files
with
86 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
.../src/test/resources/csvmap_embedded_image_collection/csvmap_embedded_image_collection.tmx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<map version="1.0" tiledversion="1.0.2" orientation="orthogonal" renderorder="right-down" width="3" height="1" tilewidth="32" tileheight="32" nextobjectid="1"> | ||
<tileset firstgid="1" name="embedded_image_collection" tilewidth="32" tileheight="32" tilecount="2" columns="0"> | ||
<grid orientation="orthogonal" width="1" height="1"/> | ||
<tile id="0"> | ||
<image width="32" height="32" source="csvmap_embedded_image_collection_1.png"/> | ||
</tile> | ||
<tile id="3"> | ||
<image width="32" height="32" source="csvmap_embedded_image_collection_2.png"/> | ||
</tile> | ||
</tileset> | ||
<layer name="Tile Layer 1" width="3" height="1"> | ||
<data encoding="csv"> | ||
1,0,4 | ||
</data> | ||
</layer> | ||
</map> |
Binary file added
BIN
+4.1 KB
...sources/csvmap_embedded_image_collection/csvmap_embedded_image_collection_1.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+4.1 KB
...sources/csvmap_embedded_image_collection/csvmap_embedded_image_collection_2.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.