Commit Graph
2 Commits
Author SHA1 Message Date
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
Dylan Wilson facf4c4e1f inject the game window to the boxing viewport adapter and remove the dependency on calling an method manually when client size changes 2015-12-18 22:19:12 +10:00