Commit Graph

23 Commits

Author SHA1 Message Date
Darren Eberly
674b4b50c4 Changes to API
Should make integration with game engines easier in general.

Puts the burden of color parsing on Pytiled. As well as formatting layer data into a two dimensional list from a straight one dimensional.
2021-02-21 00:58:30 -05:00
Darren Eberly
4fb811d039 refactor(tileset): Renamed TileSet class to Tileset 2020-08-19 23:11:59 -04:00
Darren Eberly
fb13096178 tests(tileset): Removed unused tileset test 2020-08-19 23:10:00 -04:00
Darren Eberly
b7a513641e feat(wangsets): Initial Implementation of wang sets 2020-07-23 21:35:50 -04:00
Darren Eberly
ab685c8917 tests: added terrain with properties test 2020-06-14 14:23:26 -04:00
Darren Eberly
f54093a171 tests: implemented terrain test for tilesets 2020-06-14 12:22:13 -04:00
Darren Eberly
87916d6332 tests: removed color property from individual_images test to increase branch coverage 2020-06-14 12:21:18 -04:00
Darren Eberly
452101521c tests: Implemented more tileset testing. Only missing terrains and wang sets at this point. 2020-06-09 21:59:03 -04:00
Darren Eberly
e2651bfbc0 tests: implemented idnividual image tileset test with animated tiles and collision objects layer. 2020-06-07 21:07:35 -04:00
Darren Eberly
9a205829d9 tests: Added type key to all existing tileset tests 2020-06-07 14:53:50 -04:00
Darren Eberly
9c373dd815 tests: Started on test for animated tiles with collision shapes. Can't finish until Layer casting is finished 2020-06-06 19:57:47 -04:00
Darren Eberly
a0ce33a563 tests: created a new tileset for individual image tiles with animations and properties 2020-06-06 19:45:42 -04:00
Darren Eberly
c81785eb77 tests: Added tileset_grid test 2020-06-06 17:48:05 -04:00
Darren Eberly
6c3e6af0a6 tests: fix tileset tests to work with new test_data file structure 2020-06-06 15:08:35 -04:00
Darren Eberly
9c45223e10 tests: implemented tile_offset test 2020-06-04 21:50:52 -04:00
Darren Eberly
94a733d537 Merge branch 'rf/caster' of https://github.com/Beefy-Swain/pytiled_parser into rf/caster 2020-06-04 21:46:24 -04:00
Darren Eberly
7c4071c0f2 tests: all currently implemented tileset tests passing. 2020-06-04 21:45:39 -04:00
Benjamin Kirkbride
b860e88f15 test:fix(image_transparent_color): darren messed up big tim 2020-06-04 21:35:01 -04:00
Darren Eberly
107bf406bc tests: updated expected variable in all expected.py files 2020-06-04 21:28:35 -04:00
Darren Eberly
4c504549c0 tests: implemented tileset with properties test 2020-06-04 21:26:43 -04:00
Darren Eberly
e2157ffa20 tests: implemented multiple tileset tests 2020-06-04 21:23:11 -04:00
Benjamin Kirkbride
9bb66296b9 test: set up structure for tilesets 2020-06-04 20:53:53 -04:00
Benjamin Kirkbride
b735857fe6 test: tileset stuff 2020-06-04 20:10:40 -04:00