Commit Graph

60 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
00153d59dc refactor(tiled_map): Renamed Map class to TiledMap 2020-08-20 21:48:31 -04: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
53d7cca47e refactor(map): Renamed map to tiled_map to avoid redefining the built-in 2020-08-19 23:03:31 -04:00
Darren Eberly
c452c50b2f tests(map): Expanded map test coverage 2020-08-19 22:58:12 -04:00
Darren Eberly
612bd52653 tests(layer): infinite map tests 2020-08-05 23:14:31 -04:00
Darren Eberly
99c6964e9b tests(layer): increased branch coverage of layer tests 2020-07-27 21:06:53 -04:00
Darren Eberly
47fbe3c80b Merge branch 'rf/caster' of github.com:Beefy-Swain/pytiled_parser into rf/caster 2020-07-27 20:58:32 -04:00
Darren Eberly
7211a14c98 tests(layer): Base64 with uncompressed, gzip, and zlib type tests. 2020-07-27 20:57:18 -04:00
Benjamin Kirkbride
1745117e87 rf(no_layers): add typing info 2020-07-27 20:49:17 -04:00
Benjamin Kirkbride
ba9b8dabe0 tests(layer): no_layers 2020-07-27 20:41:15 -04:00
Benjamin Kirkbride
2b54089f40 mv(test_data): map_no_layers.json -> map.json 2020-07-27 20:36:17 -04:00
Darren Eberly
67514eed71 Merge branch 'rf/caster' of github.com:Beefy-Swain/pytiled_parser into rf/caster 2020-07-27 20:32:13 -04:00
Darren Eberly
2a9f5daaee tests(layer): First layer test with no compression or encoding completed 2020-07-27 20:31:18 -04:00
Benjamin Kirkbride
72cfff01d1 tests(test_data): add no_layers map 2020-07-27 20:09:28 -04:00
Benjamin Kirkbride
82b352d85e mv(test_data): maps -> example_maps 2020-07-27 19:57:27 -04:00
Benjamin Kirkbride
b708de98b3 test(layer_tests): add b64 and csv examples
with compression
2020-07-25 00:00:57 -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
95bc9834d0 Merge branch 'rf/caster' of https://github.com/Beefy-Swain/pytiled_parser into rf/caster 2020-06-09 21:59:14 -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
Benjamin Kirkbride
41071ba531 chore(test): rename layers dir to layer_tests 2020-06-09 21:45:15 -04:00
Benjamin Kirkbride
452e8a29db test(layer): example stubs 2020-06-09 21:13:28 -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
Benjamin Kirkbride
ae7f37f4cd Merge branch 'rf/caster' of github.com:Beefy-Swain/pytiled_parser into rf/caster 2020-06-04 21:52:19 -04:00
Benjamin Kirkbride
f911844456 tests: move image up a level 2020-06-04 21:52:07 -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
99b4befcb4 chore(test): move maps to a subdir 2020-06-04 20:45:30 -04:00
Benjamin Kirkbride
b735857fe6 test: tileset stuff 2020-06-04 20:10:40 -04:00
Benjamin Kirkbride
c68a939cf9 test:chore: organized all the current test maps 2020-06-02 20:35:42 -04:00
Benjamin Kirkbride
60b991542f test:add: maps and tilesets for testing 2020-06-02 20:07:39 -04:00
Darren Eberly
b73f5bd311 tests: fix: added type to bottom right align text in tiled map 2020-05-30 22:36:11 -04:00
Darren Eberly
ac6a4ff379 Added full set of Polygons and Polylines to map 2020-05-30 21:32:11 -04:00
Benjamin Kirkbride
e42b7e7532 tests: fix visibility of invisible ellipse 2020-05-30 20:31:24 -04:00
Benjamin Kirkbride
ce016a5f8e tests: fix visibility of invisible rectangle 2020-05-30 20:28:49 -04:00