Commit Graph

226 Commits

Author SHA1 Message Date
Benjamin Kirkbride
cb22d613b0 rf(map): this feature will need rethought 2020-06-06 18:02:22 -04:00
Benjamin Kirkbride
f9d1ca9893 rf(map): don't mess with the default of the format 2020-06-06 18:02:22 -04:00
Darren Eberly
c81785eb77 tests: Added tileset_grid test 2020-06-06 17:48:05 -04:00
Darren Eberly
a2b0c2a312 Temporarily remove layers attribute from RawLayer until it can be fixed properly 2020-06-06 17:47:41 -04:00
Darren Eberly
200b227137 fix: added missing import for RawLayer 2020-06-06 17:45:58 -04:00
Benjamin Kirkbride
d92276a766 build out more of the map module 2020-06-06 17:12:17 -04:00
Darren Eberly
b07f30fd0d implemented RawLayer class 2020-06-06 15:28:15 -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
732a5a52b0 Merge branch 'rf/caster' of https://github.com/Beefy-Swain/pytiled_parser into rf/caster 2020-06-06 14:58:35 -04:00
Darren Eberly
99054c4a8d chore: fixed too many local variables in tileset.cast 2020-06-06 14:58:26 -04:00
Benjamin Kirkbride
b97930fece rf(map): cast, not parse 2020-06-06 14:56:04 -04:00
Darren Eberly
e2e3873b1d chore: moved location of tileset.cast in the code. 2020-06-06 14:55:38 -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
2ed04ae204 tests: refactored the way tileset test directories are handled. Switching from finding all directories to manually listing. 2020-06-04 21:46:13 -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
Benjamin Kirkbride
20eb9a4a59 test:fix: properly read tileset 2020-06-04 21:30:48 -04:00
Benjamin Kirkbride
db33e6bc67 Merge branch 'rf/caster' of github.com:Beefy-Swain/pytiled_parser into rf/caster 2020-06-04 21:28:47 -04:00
Darren Eberly
107bf406bc tests: updated expected variable in all expected.py files 2020-06-04 21:28:35 -04:00
Benjamin Kirkbride
6d64db1aaf test(tileset): add tests 2020-06-04 21:28:34 -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
5c519bde9e Merge branch 'rf/caster' of github.com:Beefy-Swain/pytiled_parser into rf/caster 2020-06-04 20:53:56 -04:00
Benjamin Kirkbride
9bb66296b9 test: set up structure for tilesets 2020-06-04 20:53:53 -04:00
Darren Eberly
695f4bd363 Merge branch 'rf/caster' of https://github.com/Beefy-Swain/pytiled_parser into rf/caster 2020-06-04 20:51:57 -04:00
Benjamin Kirkbride
99b4befcb4 chore(test): move maps to a subdir 2020-06-04 20:45:30 -04:00
Darren Eberly
e9999ad9fe Implemented tileset casting 2020-06-04 20:44:53 -04:00
Benjamin Kirkbride
8d25142f48 add(layer): the missing objects 2020-06-04 20:42:11 -04:00
Darren Eberly
2cef181663 Merge branch 'rf/caster' of https://github.com/Beefy-Swain/pytiled_parser into rf/caster 2020-06-04 20:16:28 -04:00
Darren Eberly
f658e763eb Updates to tileset casting 2020-06-04 20:15:07 -04:00
Benjamin Kirkbride
b735857fe6 test: tileset stuff 2020-06-04 20:10:40 -04:00
Darren Eberly
ebd0b0c121 Merge branch 'rf/caster' of https://github.com/Beefy-Swain/pytiled_parser into rf/caster 2020-06-02 20:45:35 -04:00
Darren Eberly
d3fe310d7f Implemented TypedDicts for the raw data of all classes within TileSet 2020-06-02 20:45:33 -04:00
Benjamin Kirkbride
f09abd1f48 rf(tileset): underscore appended to attribute
this is unnessesary for attributes, as it does not overwrite the 
built-in
2020-06-02 20:44:23 -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
Benjamin Kirkbride
c83f79adb0 chore: major cleanup 2020-06-02 20:02:37 -04:00
Darren Eberly
80db745a6d refactor: changed naming convention for RawProperty to be more clear 2020-06-01 22:08:08 -04:00
Darren Eberly
3e9bf10e70 docs: updated properties.py docstrings 2020-06-01 22:04:18 -04:00
Darren Eberly
484e1ac69c docs: added docstrings to properties module 2020-06-01 21:55:11 -04:00
Benjamin Kirkbride
250ebc2d7d rf(tiled_object): compare to None, not Truthy 2020-06-01 21:42:27 -04:00
Benjamin Kirkbride
e8f949c9e5 Merge branch 'rf/caster' of github.com:Beefy-Swain/pytiled_parser into rf/caster 2020-06-01 21:41:30 -04:00
Benjamin Kirkbride
1a4d9a6b92 feat(tiled_object): Text object support 2020-06-01 21:41:18 -04:00
Darren Eberly
b7c4b3ba76 refactor: Removed templates as an attribute of TiledObjects 2020-06-01 21:38:08 -04:00
Darren Eberly
79f36a8f25 fix: Changed RawTiledObject properties list to match casting requirements 2020-06-01 21:36:26 -04:00
Darren Eberly
ea43d05090 tests: fix: fixed all polyline tests 2020-06-01 21:26:43 -04:00
Darren Eberly
9af16fce71 feature: implemented polyline casting 2020-06-01 21:26:29 -04:00