Commit Graph

12 Commits

Author SHA1 Message Date
Christopher Whitley 26cfd55ef9 Check for existing layer name (#618)
* Check for existing layer name

Added check for an existing layer by name before adding new layer. If layer name already exists, a descriptive exception is thrown instead of the generic ArgumentException.

* Update TiledMap.cs
2019-07-16 21:18:15 +10:00
Dylan Wilson 0a8577f77f small tweaks 2018-11-13 21:58:18 +10:00
stefanrbk 433e458af0 Real Tiled Group Support (#522)
* Change from storing layers by index to Dictionary key

Models are now stored with the `TiledMapLayer` they are part of.

* Allow render calls via TiledMapLayer

* Add TiledMapGroupLayer and model build recursion for groups

* Add rendering support for TiledMapGroupLayer

* Update TiledMapReader to read TiledMapGroupLayers

* Update Features Demo to Include a Map with a Layer Group

* Update TiledMapWriter and TiledMapProcessor to Support Groups

* Update TiledMap to Report Layers Correctly
2018-07-08 21:34:07 +10:00
stefanrbk 119026ea50 Decoupled FirstGlobalIdentifier from Tileset
`FirstGlobalIdentifier` is only used with the map to reference the tileset which contains the tile referenced. It isn't really part of the definition of a `TiledMapTileset` even though the `.TMX` format includes it with the `<tileset>` tag
2018-06-06 14:59:38 -05:00
Dylan Wilson 4c5c7bc00b code cleanup 2017-11-22 21:32:26 +10:00
Dylan Wilson d1fded1ec8 one tiny tweak to rule them all 2017-11-21 20:57:32 +10:00
Dylan Wilson cd8f6ea6df almost finished making tiled maps creatable from code 2017-11-21 20:57:32 +10:00
Dylan Wilson b6555e8ce5 moving some things around and code cleanup 2017-06-13 21:20:02 +10:00
Lucas Girouard-Stranks 3a164d5385 Tiled Fix (#349)
* Tiled fix.

* Remove bat file.
2017-03-05 09:18:11 +10:00
Dylan Wilson a002aef77f big code cleanup 2017-01-31 21:15:21 +10:00
Lucas Girouard-Stranks 9e359fb750 Tiled Rework (#331)
* Tiled Rework

* fix failing tests

* really fix failing tests
2017-01-18 20:46:38 +10:00
Lucas Girouard-Stranks a45518a925 Tiled library (#322)
* Tiled library

* remove test project
2016-12-13 21:40:22 +10:00