Commit Graph

38 Commits

Author SHA1 Message Date
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
e1028030bd fix(xml_parser): infinite maps have a 1 not "true" 2020-04-19 03:46:41 -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
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
f26ef9749e rf(xml_parser): remove try except clause for unforseable scenario 2020-04-18 22:34:53 -04:00
Benjamin Kirkbride
d7c392e600 docs: remove defunct comment 2020-04-18 17:18:51 -04:00
Benjamin Kirkbride
e281e14c32 fix: does_not_raise 2020-04-18 02:24:54 -04:00
Benjamin Kirkbride
dc199cc3ae rf(xml_parser): black 2020-04-18 01:15:25 -04:00
AberDerBart
fae609deb6 add tsx_file and parent_dir properties to TileSet 2020-03-29 10:56:29 +02:00
sandorlev
c0d464359a Don't cast stagger axis and index to int 2020-03-13 20:53:13 +01:00
gavincz
b0efa81cdb Update xml_parser.py 2019-12-15 14:09:47 +01:00
Paul V Craven
5fd6a0b9f7 Merge pull request #9 from pvcraven/master
Fixes for bugs found in student .tmx files that cause crashes.
2019-11-20 08:45:59 -06:00
Paul Vincent Craven
8d8f922ebc Fixes for bugs found in student .tmx files that cause crashes. 2019-11-18 14:54:34 -06:00
Paul V Craven
43a2142026 Merge pull request #7 from pvcraven/master
Update for including hitboxes
2019-09-17 20:22:04 -05:00
huooyk
f3142915ea Add exception hint 2019-09-18 01:44:43 +08:00
Paul Vincent Craven
98b93646bc Fix so we don't assume some fields exist. 2019-08-14 17:14:01 -05:00
Paul Vincent Craven
e1a9cb9104 Fix for bug around polylines. 2019-08-13 09:57:07 -05:00
Paul Vincent Craven
9d9856b347 Bring in background color as a tuple instead of a string. 2019-08-12 13:58:16 -05:00
Paul Vincent Craven
b427543c4c Update for adding support for hitboxes. 2019-07-26 11:12:21 -05:00
Paul Vincent Craven
daa0257d25 Update for working on hitbox support. 2019-07-25 12:16:26 -05:00
Paul Vincent Craven
f03c3cf3ba Fix for Issue #6 where terrain is uninitialized 2019-07-12 10:47:57 -05:00
Benjamin Kirkbride
824903009a some minor changes 2019-06-30 21:39:23 -04:00
Benjamin Kirkbride
5f4e8f1896 major clean-up for linting 2019-06-30 16:27:22 -04:00
Benjamin Kirkbride
73f5223d3d merge changes made by pvcraven 2019-06-29 17:38:45 -04:00
Benjamin Kirkbride
5b62df0409 I'm back! 2019-06-29 15:53:30 -04:00
Benjamin Kirkbride
a44c3523d4 added a lot of tests yay 2019-05-08 21:05:57 -04:00
Benjamin Kirkbride
69363f22fa yay 2019-05-08 15:21:10 -04:00