Commit Graph
97 Commits
Author SHA1 Message Date
Jay JeckelandDylan Wilson c864aba136 Fix TryGetTile (#380)
Change TiledMapTileLayer to store blank tiles so that TryGetTile returns the correct TiledMapTile instances.
2017-04-26 21:13:11 +10:00
Musbah SinnoandDylan Wilson 785396d171 Added the ability to get tileset tile objects. (#378) 2017-04-20 20:52:02 +10:00
Lucas Girouard-StranksandDylan Wilson 435d973a20 Fix #361 (#368)
* Fix #361

* Clean up debugging changes.

* Fix one compile error.
2017-04-09 22:15:36 +10:00
Roman ShapiroandDylan Wilson eab2ed17ce Added kernings support to the BitmapFont (#372) 2017-04-06 21:41:21 +10:00
Dylan WilsonandGitHub 432bb92ca5 Revert "- Fix Tileset.FirstGlobalIdentifier (#362)" (#363)
This reverts commit 1f321b332b.
2017-04-01 11:04:44 +10:00
Eric BroginandDylan Wilson 1f321b332b - Fix Tileset.FirstGlobalIdentifier (#362) 2017-04-01 10:58:40 +10:00
HarryandDylan Wilson fe5aaf515d Fix project files so they can build from Linux (#357) 2017-03-23 20:48:02 +10:00
Dylan Wilson 23fe90de0b updated the nuget readme's to point to the new docs 2017-03-22 21:34:59 +10:00
Dylan Wilson 8f2caa305c updated the nuget package readme files and made every nuget package show the readme on install 2017-03-21 22:10:49 +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
Dylan Wilson b5656908a5 split the animations content pipeline code out into it's own content pipeline dll 2017-03-14 22:14:18 +10:00
Dylan Wilson dbfe2ea32c split the animations namespace into two nuget packages 2017-03-14 21:53:19 +10:00
Lucas Girouard-StranksandDylan Wilson 3a164d5385 Tiled Fix (#349)
* Tiled fix.

* Remove bat file.
2017-03-05 09:18:11 +10:00
Dylan Wilson a75d8deb5a enforce c# 6.0 language version at least until VS2017 comes out of RC 2017-02-09 22:45:52 +10:00
Dylan Wilson a002aef77f big code cleanup 2017-01-31 21:15:21 +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 7de6c19106 fixed broken hint paths after upgrading to VS 2017 2017-01-16 00:04:10 +10:00
Dylan Wilson 6bd0408d01 Merge branch 'develop' of https://github.com/craftworkgames/MonoGame.Extended.git 2017-01-10 23:01:56 +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 af424af223 JSON.NET & .nuspecs (#330)
* JSON.NET & .nuspecs

* fix dependencies for Tiled lib

* add xml comments

* Add nuget files to solution
2017-01-09 22:11:27 +10:00
Lucas Girouard-StranksandDylan Wilson a45518a925 Tiled library (#322)
* Tiled library

* remove test project
2016-12-13 21:40:22 +10:00
Dylan Wilson 4017ebf483 a little resharper code cleanup 2016-12-01 20:10:41 +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
Josip MatićandDylan Wilson bafe5072e4 Nuclex GUI (#299)
* Added a new constructor to TextureAtlas. Also documented TextureAtlas class.

* Update TextureAtlas.cs

* Adapting Nuclex GUI to MonoGame.Extended. Still incomplete.

* Ported Nuclex GUI; errors persist

* Fixed { }

* Started moving from XML skins to JSON skins

* Framework compiles

* Removed unnecessary item

* Nuclex Gui compiling completely. Demo project started. Cleaning out errors required.

* "Save" point before massive input changes

* Dealing with Input on Nuclex

* Added missing files

* Nuclex works!

* Cleanup started

* Removed plugin mechanic

* Nuclex finally finished. Mostly.

* Commented demo project

* Modified input to deal with issue #171

* Added remark to MouseListener

* Renamed skin converter to better reflect its function
2016-11-09 20:50:37 +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
Dylan Wilson 9e8116bf49 Merge branch 'develop' 2016-05-03 21:54:59 +10:00
CJRii b0109ebdc3 Added support for Tiled animated tiles 2016-05-01 14:38:04 -04:00
Dylan Wilson a974aa8807 reorganized some code and implemented a generic tween class 2016-04-29 22:32:31 +10:00
Dylan Wilson 8df26351eb renamed the new key frame animations to sprite sheet animations 2016-04-23 11:15:50 +10:00
Dylan Wilson 7d18a53716 fire oncompleted for looping animations, fixed issues with ping pong animations, default animations to looping when loaded from content 2016-04-21 22:23:09 +10:00
Dylan Wilson aaa35ae8d1 fixed the issue with mutable animations returned from the content loader 2016-04-20 22:42:02 +10:00
Dylan Wilson a6e03f4bf9 refactored the content importer to load the new key frame animations 2016-04-19 22:28:57 +10: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 9c9284792d replaced the custom vector class with a standard vector2 2016-03-18 21:46:14 +10:00
Dylan Wilson 145ddece6c downgraded NUnit back to 2.6.4 so that it's compatible with our TeamCity build server version 2016-03-15 20:26:13 +10:00
Lucas Girouard-Stranks 239142eef2 remove content pipeline pcl 2016-03-12 20:53:56 -08:00
Lucas Girouard-Stranks 1cedc64db7 path extensions part 2 2016-03-12 20:47:50 -08:00
Lucas Girouard-Stranks 32b4282a2f path extensions 2016-03-12 20:46:38 -08:00
Lucas Girouard-Stranks 4475e54f5a remove DotNetZip; MonoGame 3.5 has zlib support 2016-03-12 18:10:47 -08:00
Lucas Girouard-Stranks 1558f7ef23 unit tests have to target monogame non-PCL 2016-03-12 17:42:59 -08:00
Lucas Girouard-Stranks a42f84659b use monogame PCL for everything 2016-03-12 17:09:25 -08:00
Lucas Girouard-Stranks 192cae8034 add MonoGame.Content.Pipeline portable .dll 2016-03-12 16:58:12 -08:00
Dylan Wilson 599c1e621d got things working on windows running out of VS2015 2016-03-10 22:07:50 +10:00