Commit Graph

103 Commits

Author SHA1 Message Date
Benjamin Kirkbride
4ff013c1f8 RESET
big time reset, we are not using TMX anymore, but instead using the JS 
format because it is way simpler to parse
2020-05-01 19:19:08 -04:00
Benjamin Kirkbride
03d70163f4 fix: rotation is optional 2020-05-01 18:46:37 -04:00
Benjamin Kirkbride
a57ecdf4c8 mv: typing_helpers out of test_data 2020-04-20 20:48:53 -04:00
Benjamin Kirkbride
cd898c7bb2 test: fix; data -> layer data 2020-04-20 20:44:23 -04:00
Benjamin Kirkbride
6788a4937b mv: hitboxes -> objects 2020-04-20 20:42:05 -04:00
Benjamin Kirkbride
682dc51fdf rf: date -> layer_data 2020-04-20 20:28:56 -04:00
Benjamin Kirkbride
222af640d9 rf: reorder parsing of objects to end of function so it stands out more 2020-04-19 23:42:27 -04:00
Benjamin Kirkbride
2d2c2e3079 doc: clarify that there can be multiple objectgroup's 2020-04-19 23:27:44 -04:00
Benjamin Kirkbride
8528aeacd5 break long string to reduce max line length 2020-04-19 23:27:08 -04:00
Benjamin Kirkbride
4b710bf69c doc: add reference to objectgroup section of TMX docs 2020-04-19 23:26:53 -04:00
Benjamin Kirkbride
98b06bcd40 rf: _parse_objects -> _parse_tiled_objects 2020-04-19 23:24:42 -04:00
Benjamin Kirkbride
19e8b0025b test: remove vestigal print 2020-04-19 21:30:10 -04:00
Benjamin Kirkbride
156597637a rf: better implementation and testing of the offset feature of layers 2020-04-19 21:25:43 -04:00
Benjamin Kirkbride
86f7adb984 test: add simple offset test 2020-04-19 21:16:29 -04:00
Benjamin Kirkbride
0b87bb26c6 doc: clarify question 2020-04-19 19:33:13 -04:00
Benjamin Kirkbride
00ff8cb9ac rf: assume that there will always be a layer name 2020-04-19 19:29:34 -04:00
Benjamin Kirkbride
b2dd3ac78a doc: reflow line 2020-04-19 18:30:40 -04:00
Benjamin Kirkbride
7580339415 rf: use assertion in place of try/except to tell Mypy that something is
This is the way that this should have been done all along.

See: https://github.com/python/mypy/issues/5528 for a reference (though 
not the source) of this concept
2020-04-19 04:22:34 -04:00
Benjamin Kirkbride
a0dc12e68e doc: FIXME: create example layer with no name (if possible) 2020-04-19 04:15:00 -04:00
Benjamin Kirkbride
180a3a7cbb rf: remove check for id
I think that there will always be an ID assigned to a layer, no need to 
check for one.
2020-04-19 04:14:23 -04:00
Benjamin Kirkbride
ecfc65731d test: add infinite map test 2020-04-19 04:13:12 -04:00
Benjamin Kirkbride
e1028030bd fix(xml_parser): infinite maps have a 1 not "true" 2020-04-19 03:46:41 -04:00
Benjamin Kirkbride
49bd42a7ce test: refactor and add tests for _parse_data 2020-04-19 03:41:55 -04:00
Benjamin Kirkbride
acbb5374bc rf(test_parser: remove unnessesary function 2020-04-19 03:41:23 -04:00
Benjamin Kirkbride
d55a5d210d rf(xml_parser): remove try except block for unforseable input 2020-04-19 03:06:11 -04:00
Benjamin Kirkbride
c0aa698fc2 docs(xml_parser): docstring cleanup 2020-04-19 03:04:47 -04:00
Benjamin Kirkbride
66a15fb5ca rf(xml_parser): move b64 encoding verification logic to decoder function 2020-04-19 02:59:22 -04:00
Benjamin Kirkbride
9b20032ce6 doc(objects): docstring cleanup 2020-04-19 02:46:14 -04:00
Benjamin Kirkbride
d33778c2a8 rf: rename TileLayerData to TileLayerGrid and use it for Chunks as well 2020-04-19 01:32:08 -04:00
Benjamin Kirkbride
d45ef080b1 rf: move TileLayerData to objects module 2020-04-19 01:02:13 -04:00
Benjamin Kirkbride
c8da8cf5de docs(xml_parser): fixed typo 2020-04-19 01:00:01 -04:00
Benjamin Kirkbride
e44740d199 rf: define the tile layer data type 2020-04-19 00:57:38 -04:00
Benjamin Kirkbride
8b050fb566 rf: rename _decode_data to _decode_tile_layer_data 2020-04-19 00:40:15 -04:00
Benjamin Kirkbride
33c7274d4f docs(objects): add fixme 2020-04-18 22:41:06 -04:00
Benjamin Kirkbride
fbc29a20e4 docs: clarify semantic versioning status 2020-04-18 22:40:43 -04:00
Benjamin Kirkbride
f26ef9749e rf(xml_parser): remove try except clause for unforseable scenario 2020-04-18 22:34:53 -04:00
Benjamin Kirkbride
cf1ea21560 docs: wrap object definitions 2020-04-18 22:01:53 -04:00
Benjamin Kirkbride
e295447e10 docs: fix error in docstring 2020-04-18 21:59:24 -04:00
Benjamin Kirkbride
d7c392e600 docs: remove defunct comment 2020-04-18 17:18:51 -04:00
Benjamin Kirkbride
eccbb4c30d add: changelog 2020-04-18 02:32:47 -04:00
Benjamin Kirkbride
e64c4f1d0f fix: don't re-define map 2020-04-18 02:26:00 -04:00
Benjamin Kirkbride
83f81d92a2 fix(integration): fix path 2020-04-18 02:25:53 -04:00
Benjamin Kirkbride
e281e14c32 fix: does_not_raise 2020-04-18 02:24:54 -04:00
Benjamin Kirkbride
11ae5f1050 rf: change line length to 88 chars 2020-04-18 01:24:56 -04:00
Benjamin Kirkbride
ec0c95ad06 chore: replace setup.py with setup.cfg 2020-04-18 01:15:55 -04:00
Benjamin Kirkbride
dc199cc3ae rf(xml_parser): black 2020-04-18 01:15:25 -04:00
Benjamin Kirkbride
48f4ecf724 Merge pull request #14 from AberDerBart/master
feat: tsx_file and parent_dir properties of TileSet, fixes #13
2020-04-17 21:39:22 -04:00
AberDerBart
fae609deb6 add tsx_file and parent_dir properties to TileSet 2020-03-29 10:56:29 +02:00
Paul V Craven
b447b12c10 Merge pull request #12 from levibaba/master
Don't cast stagger axis and index to int
2020-03-14 10:39:06 -05:00
sandorlev
c0d464359a Don't cast stagger axis and index to int 2020-03-13 20:53:13 +01:00