Commit Graph

30 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
ea43d05090 tests: fix: fixed all polyline tests 2020-06-01 21:26:43 -04:00
Darren Eberly
99bfdbc6ae tests: fix: fixed polygon ID 20 test 2020-06-01 21:21:37 -04:00
Darren Eberly
6de198f8f0 tests: fix: fixed polygon ID 10 test 2020-06-01 21:21:11 -04:00
Darren Eberly
33010405a1 tests: fix: Fixed Point ID 3 test 2020-06-01 21:20:25 -04:00
Darren Eberly
3745b6bea5 refactor: changed RawProperties in properties.py to be a TypedDict 2020-06-01 21:14:11 -04:00
Benjamin Kirkbride
86af8df23d tests: use Color object for color 2020-06-01 20:16:50 -04:00
Benjamin Kirkbride
56f8a38c86 tests: add font options text test 2020-05-31 01:46:22 -04:00
Benjamin Kirkbride
a82ae5e45b tests: s/TILE_IMAGES/TILES 2020-05-31 01:11:06 -04:00
Benjamin Kirkbride
74b563621b tests: json is retarded 2020-05-31 01:02:39 -04:00
Darren Eberly
69f05476ca tests: fix: invisible ellipse fixed test 2020-05-31 00:29:38 -04:00
Benjamin Kirkbride
2fc4a44831 rf: id attributes of objects is now id 2020-05-31 00:28:03 -04:00
Benjamin Kirkbride
6bbb739bec tests: fix missing visibility attribute 2020-05-30 23:57:14 -04:00
Benjamin Kirkbride
e46f86bbd3 Merge branch 'rf/caster' of github.com:Beefy-Swain/pytiled_parser into rf/caster 2020-05-30 22:52:24 -04:00
Benjamin Kirkbride
b5dee95bbd tests: load json before passing to caster 2020-05-30 22:51:47 -04:00
Darren Eberly
6f683adc5e tests: added missing ellipse test, implemented text tests 2020-05-30 22:50:22 -04:00
Benjamin Kirkbride
f94269ba66 Merge branch 'rf/caster' of github.com:Beefy-Swain/pytiled_parser into rf/caster 2020-05-30 22:13:02 -04:00
Benjamin Kirkbride
161da5ef03 tests: add Tiles to list 2020-05-30 22:12:47 -04:00
Darren Eberly
d973db18be Merge branch 'rf/caster' of https://github.com/Beefy-Swain/pytiled_parser into rf/caster 2020-05-30 22:00:13 -04:00
Darren Eberly
ae7182d5fb tests: fixed Polyline tests, implemented Polygon tests 2020-05-30 21:58:07 -04:00
Benjamin Kirkbride
9e5453896d tests: remove whitespace 2020-05-30 21:47:43 -04:00
Benjamin Kirkbride
2424e7304e tests: remove unused imports 2020-05-30 21:40:04 -04:00
Benjamin Kirkbride
82f36cf2a8 Merge branch 'rf/caster' of github.com:Beefy-Swain/pytiled_parser into rf/caster 2020-05-30 21:36:23 -04:00
Benjamin Kirkbride
ef20028338 tests: add rectangles to list 2020-05-30 21:36:20 -04:00
Darren Eberly
d11274693c Implemented Polyline Tests 2020-05-30 21:15:06 -04:00
Benjamin Kirkbride
93f603557a tests: Ben is fickle when it comes to json formatting 2020-05-30 20:51:11 -04:00
Darren Eberly
5b9ddff6ee Implemented Ellipse Tests 2020-05-30 20:42:15 -04:00
Benjamin Kirkbride
21281361c0 tests: width and height were reversed 2020-05-30 20:33:31 -04:00
Benjamin Kirkbride
59e8a77b26 tests: use casted type, not dict 2020-05-30 20:18:57 -04:00
Benjamin Kirkbride
14c381ab56 re-doing everything as a caster instead of as a parser 2020-05-30 19:14:51 -04:00