Commit Graph
36 Commits
Author SHA1 Message Date
Dylan Wilson 8293117ca2 fixed the content pipeline error 2018-01-31 00:19:31 +10:00
Dylan Wilson 2dad917c49 added tileset tile type 2018-01-13 22:53:24 +10:00
Dylan Wilson d1fded1ec8 one tiny tweak to rule them all 2017-11-21 20:57:32 +10:00
Dylan Wilson bfa713e91d its a bit working and a bit not 2017-11-21 20:57:32 +10:00
Dylan WilsonandGitHub b3a631aff5 Gui dialogs (#410)
* started refactoring for gui windows

* a bit more work on gui windows

* fixed some bugs and broken build stuff

* fixed some bugs in gui controls

* a little code cleanup

* got gui dialogs positioning and experimenting with named styles by type

* apply control styles directly in the constructor of controls

* got everything compiling again

* all gui controls have skinnable constructors

* rework uniform grid desired size calculations

* turns out gui layouts are complicated

* include pdb files in nuget packages

* fixed a bug in find nearest glyph

* custom control styling

* added a range constructor overload that takes one value

* rethinking control desired size behaviour

* made particle emitters more editable at runtime

* moved the auto trigger code to the particle effect instead of the emitters

* tweaks

* changed the particle modifer interface to an abstract base with an optional name

* changed the particle modifer interface to an abstract base with an optional name

* an attempt at creating a gui combo box

* rolled back the nested control experiment

* pretty good (but not perfect) combo boxes

* tweaks

* name property bindings on lists

* removed and cleaned up the hacks from the gui combo box

* minor combo box styling tweaks

* minor bug fix in gui combo box

* experiments with data binding

* fixed a mistake on the texture region service interface

* working on the ability to serialize particles

* finished particle serialization

* more robust range deserialization

* added editor browable attributes

* fixed some broken demos

* made the particle modifiers editable at runtime

* fixed some issues with particle serialization

* fixed some issues with interpolators
2017-07-22 21:22:13 +10:00
Musbah SinnoandDylan Wilson 785396d171 Added the ability to get tileset tile objects. (#378) 2017-04-20 20:52:02 +10:00
Dylan Wilson 7b8b29a8bc merged the content pipeline projects into one and setup a separate content pipeline nuget package 2017-03-21 20:57:40 +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
Lucas Girouard-StranksandDylan Wilson a45518a925 Tiled library (#322)
* Tiled library

* remove test project
2016-12-13 21:40:22 +10:00
HyperionMTandDylan Wilson 134cf9bbe7 Fixed calculation of x and y radius for ellipse (#311)
* Fixed calculation of x and y radius for ellipse and removing TiledObject.Points in favor of using TiledObject.Shape

* Don't try to rebuild dynamic details when a map isn't loaded
2016-11-25 13:03:03 +10:00
Dylan Wilson 436785923e massive refactor and partial implementation of animated object tiles 2016-11-11 23:28:23 +10:00
HyperionMTandDylan Wilson fe94e18950 Implemented object layer rendering and tileset transparency color (#301)
* Render tile objects in object layers and obey tileset transparency color

* Added alpha color tileset to level04.tmx

* Fixed unit test and added missing test

* Made drawing of object layers configurable

* Fixed references to missing files after merge

* Fixed another duplicate file reference

* Replacing everything with var
2016-11-10 20:48:41 +10:00
Marcel von KannenandDylan Wilson 0ff8e2e6de Minor bugs in TextureAtlases (#293)
* Print region name in exception

* Don't remove the path, only the extension

* Removed PathHelper
2016-11-07 09:36:37 +10:00
HyperionMTandDylan Wilson af2d8808c6 Separate out the Tiled rendering code (#292)
* Only draw tiles that actually exist for each tileset/layer combination

* Set baseVertex and startIndex based on the number of draw calls and tiles per call

* First commit of separate map renderer code

* Only override on mono (linux)... not sure why this is needed, will look into later

* Updated test data for unittest

* Fixed layer transparency not working

* Couple of small changes

* Initial commit of separate Tiled rendering code

* Fixed bug causing last tile of each group not to draw

* Adding unit tests for FullMapRenderer and TiledTileset

* Fixed depth calculation bug when a map consists of only one layer

* Added level05.tmx to test isometric left-up rendering
2016-11-07 09:35:44 +10:00
Rafael AlmeidaandDylan Wilson dc7483cd58 Fixed the layers offset (#264) 2016-10-06 20:54:38 +10:00
TheUltimateHose 132e91b90d Fixing the Objectgroups
So this time, everything is fixed and actually tested: The tilemap demo
works just fine (apart from Game.Exit() being obsolete). Those
objectgroups are now available in their respective TileSetTiles as seen
in this screenshot: http://screencast.com/t/YvdCmQoUcd
2016-08-29 17:51:23 +02:00
Dylan WilsonandGitHub 47c3d009c5 Revert "Objectgroups for Tiles!" 2016-08-29 20:56:07 +10:00
TheUltimateHose 9c8c35f458 Objectgroups for Tiles!
Those changes make the "per tile ObjectGroups" available. They are used
by Tiled for tile collision using Objects.
2016-08-28 00:49:58 +02:00
CJRii b0109ebdc3 Added support for Tiled animated tiles 2016-05-01 14:38:04 -04:00
Dylan Wilson 03407b3ff9 fixed a culture number format issue in the tiled map writer 2016-04-17 08:38:39 +10:00
Dylan Wilson bbf1a906cd finished loading all object layer properties 2016-03-07 21:48:33 +10:00
Dylan Wilson 4430f4210e deserialized more of the object layer properties 2016-03-07 17:36:37 +10:00
Dylan Wilson 4435143fcc started fixing object layers 2016-03-07 08:27:24 +10:00
Rafael Almeida 27bf56404b Read properties from Object Layers and Objects 2016-02-11 05:39:08 -02:00
Rafael Almeida fb68c560d2 Support to Object Layers 2016-02-11 05:06:23 -02:00
Dylan Wilson 7f9f90b81d fixed the bug with relative assets 2015-10-18 21:18:57 +10:00
Darren Reid 356ed25ec6 First isometric render pass 2015-09-26 17:20:08 +10:00
Dylan Wilson f1b6884c6e namespace adjustments 2015-08-18 17:36:32 +10:00
Dylan Wilson fb20011b58 image layers done 2015-08-15 23:15:28 +10:00
Dylan Wilson af4acc4206 rough first cut of image layers 2015-08-15 22:40:34 +10:00
Dylan Wilson cbadbc5486 fixed background color rendering 2015-08-12 22:51:52 +10:00
Dylan Wilson 0527d54124 removed dependency on tiledsharp and implemented our own xml deserialization 2015-08-12 00:01:59 +10:00
Dylan Wilson 7d5edc9a7a custom properties 2015-08-10 22:50:17 +10:00
Dylan Wilson 2d478b5313 almost finished render order for tiled maps 2015-08-07 17:43:23 +10:00
Dylan Wilson 53e86ec3ed tiled maps background color 2015-08-06 19:02:15 +10:00
Dylan Wilson 2dc76b5444 made the tiled code more consistent and polished the sandbox a bit 2015-08-04 22:31:04 +10:00