Commit Graph
11 Commits
Author SHA1 Message Date
Dylan Wilson c6c540c22a code cleanup 2018-11-05 20:29:23 +10:00
stefanrbkandDylan Wilson 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 044712f6aa Added remaining .TMX format features
Added the remaining features of the .TMX Tiled Map format. Removed the parts of the format which aren't needed for rendering, like `TiledMapTerrainContent`. Terrains and the newer WangSets are only used in constructing a map, not for rendering. Added exception throws for non-implemented parts of the format.
2018-06-09 13:45:02 -05: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 4090822e2b added tiled image layers back in 2017-11-27 20:45:41 +10:00
Dylan Wilson cf2a97259f proper disposal of buffers 2017-11-21 21:00:34 +10:00
Dylan Wilson 9d24bb6091 fixed a range of bugs and issues with the new map renderer 2017-11-21 20:57:32 +10:00
Dylan Wilson 107ba06326 almost back to parity 2017-11-21 20:57:32 +10:00
Lucas Girouard-StranksandDylan Wilson 9e359fb750 Tiled Rework (#331)
* Tiled Rework

* fix failing tests

* really fix failing tests
2017-01-18 20:46:38 +10:00
Dylan Wilson 23069bd031 finally getting back to working on the new gui system 2017-01-10 23:01:49 +10:00
Lucas Girouard-StranksandDylan Wilson a45518a925 Tiled library (#322)
* Tiled library

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