Commit Graph

19 Commits

Author SHA1 Message Date
Dylan Wilson 8ab5e384ec added the ability to change the tiles collection at runtime 2018-11-17 22:09:10 +10:00
Dylan Wilson e962cec448 A mix between Tiled and GUI stuff (#553)
* mostly restored the tiled importer unit tests

* code cleanup

* code cleanup

* almost got tiled maps serialization independent of the content pipeline

* refactored the tiled map content importer so that tiled maps can be loaded at runtime

* code cleanup

* removed nuspec files

* experimenting with an XML based GUI markup parser

* a few more markup parser features

* finally got a working open file dialog

* experimenting with markup bindings

* attached properties

* working on the gui stuff again

* working on a better textbox

* multiline textboxing

* new text box is really coming along

* removed the content explorer experiment

* restored the old gui demo back to the way it was before (for now)
2018-10-09 22:18:48 +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
stefanrbk 0ca4ae70da Importer and Processor
Added importer and processor for `TiledMapTilesetContent`
2018-06-06 11:53:46 -05:00
stefanrbk 561c437023 Extract Writer and Reader for TIlesets
Pulled out the methods for writing and reading the content files for tilesets into their own classes to allow loading tilesets independently from the maps.
2018-06-05 14:51:36 -05:00
stefanrbk 184fba5928 Include tileset textures internally
Changed the reference of tileset textures so the `Texture2DContent` isn't referenced, but built into the file as tilesets don't reference the same texture more than once.
2018-06-05 09:16:55 -05:00
stefanrbk 7ce9911696 TiledMapImageContent.Content
Adds the `Content` field to `TiledMapImageContent` to reference the `Texture2DContent` instead of manually loading the content with the `ContentManager`.
2018-06-04 17:26:03 -05:00
Dylan Wilson 2dad917c49 added tileset tile type 2018-01-13 22:53:24 +10:00
Dylan Wilson 4090822e2b added tiled image layers back in 2017-11-27 20:45:41 +10:00
Dylan Wilson bfa713e91d its a bit working and a bit not 2017-11-21 20:57:32 +10:00
Dylan Wilson 17c7d8ccd7 demos are at least compiling again 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
Dylan Wilson 23069bd031 finally getting back to working on the new gui system 2017-01-10 23:01:49 +10:00
Lucas Girouard-Stranks a45518a925 Tiled library (#322)
* Tiled library

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