Darren Eberly
|
290bdb70ea
|
feat(layer): Implemented LayerGroup casting
|
2020-06-09 21:36:34 -04:00 |
|
Darren Eberly
|
6c933a455a
|
Merge branch 'rf/caster' of https://github.com/Beefy-Swain/pytiled_parser into rf/caster
|
2020-06-09 21:32:18 -04:00 |
|
Darren Eberly
|
2d6e9ac0d0
|
feat(layer): Implemented ObjectLayer casting
|
2020-06-09 21:32:07 -04:00 |
|
Benjamin Kirkbride
|
54ad9633eb
|
rf(layer): remove extra tab
|
2020-06-09 21:26:54 -04:00 |
|
Darren Eberly
|
fefab2a1a2
|
feat(map): TileLayer casting
|
2020-06-09 21:23:07 -04:00 |
|
Benjamin Kirkbride
|
6721bef291
|
fix(layer): common_attributes required attributes
|
2020-06-09 21:16:43 -04:00 |
|
Benjamin Kirkbride
|
e805230b16
|
chore(pylintrc): id is an acceptable var name
|
2020-06-09 21:16:13 -04:00 |
|
Benjamin Kirkbride
|
452e8a29db
|
test(layer): example stubs
|
2020-06-09 21:13:28 -04:00 |
|
Benjamin Kirkbride
|
abc73fdf06
|
feat(layer): build out _get_common_attributes
|
2020-06-07 21:48:34 -04:00 |
|
Benjamin Kirkbride
|
34e898f3ef
|
rf(layer.Layer): alphabetize
|
2020-06-07 21:47:05 -04:00 |
|
Benjamin Kirkbride
|
d27b564bbc
|
stub(layer.Layer): the tiled docs need work
|
2020-06-07 21:46:29 -04:00 |
|
Benjamin Kirkbride
|
be0a3812e3
|
stub(layer): get common attributes
|
2020-06-07 21:34:07 -04:00 |
|
Benjamin Kirkbride
|
cc5ddd1f54
|
doc(layer): cast docstring
|
2020-06-07 21:34:07 -04:00 |
|
Darren Eberly
|
a6b8a8e6df
|
Merge branch 'rf/caster' of https://github.com/Beefy-Swain/pytiled_parser into rf/caster
|
2020-06-07 21:07:43 -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 |
|
Benjamin Kirkbride
|
9a038655a4
|
Merge branch 'rf/caster' of github.com:Beefy-Swain/pytiled_parser into rf/caster
|
2020-06-07 21:07:29 -04:00 |
|
Benjamin Kirkbride
|
a2aa9d9865
|
rf(layer): remove extra line
|
2020-06-07 21:00:37 -04:00 |
|
Darren Eberly
|
e0d157ab86
|
changed width and height attributes of Layer to be optional to accurately reflect the JSON format
|
2020-06-07 20:45:10 -04:00 |
|
Darren Eberly
|
68ec66a227
|
changed id attribute of Layer to be optional because of it not being present in embedded object layers.
|
2020-06-07 20:39:47 -04:00 |
|
Darren Eberly
|
e48455a329
|
Merge branch 'rf/caster' of https://github.com/Beefy-Swain/pytiled_parser into rf/caster
|
2020-06-07 20:37:54 -04:00 |
|
Darren Eberly
|
1a49382278
|
updated objectgroup layer casting to be accurate. It was previously being done as a list of TiledObjects rather than a Layer
|
2020-06-07 20:37:32 -04:00 |
|
Benjamin Kirkbride
|
0ec3c90d80
|
rf(layer): s/id/id_
|
2020-06-07 20:34:57 -04:00 |
|
Benjamin Kirkbride
|
40616a78fd
|
doc(layer): _get_caster docstring
|
2020-06-07 20:31:30 -04:00 |
|
Benjamin Kirkbride
|
77d42246a9
|
rf(layer): s/_get_layer/_get_group_layer
|
2020-06-07 20:31:18 -04:00 |
|
Darren Eberly
|
10cc5c2731
|
Merge branch 'rf/caster' of https://github.com/Beefy-Swain/pytiled_parser into rf/caster
|
2020-06-07 20:21:39 -04:00 |
|
Darren Eberly
|
97bd12de83
|
removed checking for type attribute as it should always appear in the JSON format.
|
2020-06-07 20:21:35 -04:00 |
|
Benjamin Kirkbride
|
58018e9871
|
stub(layer): get correct caster
|
2020-06-07 20:20:11 -04:00 |
|
Darren Eberly
|
802959c290
|
removed checking rotation and name as they will always be defined in the JSON format
|
2020-06-07 20:16:38 -04:00 |
|
Darren Eberly
|
0dbb7b33fb
|
removed opacity attribute from TiledObject as that is not actually a possible attribute of Tiled Objects.
|
2020-06-07 20:08:59 -04:00 |
|
Darren Eberly
|
e94906039c
|
changed width and height to not check if they are truthy, as they should always be expected to be so
|
2020-06-07 20:05:25 -04:00 |
|
Benjamin Kirkbride
|
c248f0eafc
|
feat(map): map parsing
|
2020-06-07 19:39:18 -04:00 |
|
Benjamin Kirkbride
|
718b4ec0a8
|
rf: tileset, not tile set
|
2020-06-07 19:39:18 -04:00 |
|
Benjamin Kirkbride
|
9caaf209b4
|
stub(map): undo changes to tilesets
|
2020-06-07 19:39:18 -04:00 |
|
Darren Eberly
|
bb3a8ca1f1
|
created a base for implementing Layer casting. Also made the types of Layer classes more accurate to Tiled's documentation
|
2020-06-07 16:01:25 -04:00 |
|
Darren Eberly
|
9a205829d9
|
tests: Added type key to all existing tileset tests
|
2020-06-07 14:53:50 -04:00 |
|
Benjamin Kirkbride
|
d8b005a83c
|
FIXME: rename to Tileset
|
2020-06-07 14:45:38 -04:00 |
|
Darren Eberly
|
4d9ea3a993
|
Merge branch 'rf/caster' of https://github.com/Beefy-Swain/pytiled_parser into rf/caster
|
2020-06-06 19:59:03 -04:00 |
|
Darren Eberly
|
b85fc3cb1f
|
fix: changes to support animated tile with collision shapes casting based on test files generated from Tiled as it seems the documentation was wrong about that.
|
2020-06-06 19:59:01 -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
|
6753262328
|
chore: moved FIXME outside of docstring so pylint catches it
|
2020-06-06 19:45:10 -04:00 |
|
Benjamin Kirkbride
|
3087842cca
|
feat(layer): stub cast
|
2020-06-06 18:37:31 -04:00 |
|
Benjamin Kirkbride
|
1b3e0e1e84
|
doc(map): size of a tile, not width
|
2020-06-06 18:31:23 -04:00 |
|
Benjamin Kirkbride
|
b820dc5a4d
|
doc(map): alphabetize the attributes
|
2020-06-06 18:29:41 -04:00 |
|
Benjamin Kirkbride
|
27f4cd86a0
|
doc(map): switch TMX to JSON
|
2020-06-06 18:22:36 -04:00 |
|
Benjamin Kirkbride
|
373204eb86
|
rf(map): alphabetize
|
2020-06-06 18:08:25 -04:00 |
|
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 |
|