Darren Eberly
|
fbfd3864b3
|
Added RawProperties import to tiled_object.py
|
2020-05-31 01:54:34 -04:00 |
|
Darren Eberly
|
b88af16cae
|
Merge branch 'rf/caster' of https://github.com/Beefy-Swain/pytiled_parser into rf/caster
|
2020-05-31 01:15:57 -04:00 |
|
Darren Eberly
|
7437bf5687
|
fix: Mypy error on polygon type in RawTiledObject
|
2020-05-31 01:15:48 -04:00 |
|
Darren Eberly
|
820fb9c2a5
|
fix: Removed redundant checking of polygon in caster
|
2020-05-31 01:15:22 -04:00 |
|
Benjamin Kirkbride
|
77d6742514
|
add: Tile caster
|
2020-05-31 01:13:07 -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 |
|
Benjamin Kirkbride
|
51d292bdf1
|
add: rectangle caster get
|
2020-05-31 01:01:01 -04:00 |
|
Benjamin Kirkbride
|
d06525d8f2
|
fix(tiled_object): move kwarg to prior to dict unpacking
|
2020-05-31 01:00:42 -04:00 |
|
Benjamin Kirkbride
|
d774a9ed36
|
Merge branch 'rf/caster' of github.com:Beefy-Swain/pytiled_parser into rf/caster
|
2020-05-31 00:47:54 -04:00 |
|
Benjamin Kirkbride
|
798e186947
|
add: _get_tiled_object_caster
|
2020-05-31 00:46:33 -04:00 |
|
Benjamin Kirkbride
|
3d6068cc71
|
rf: remove gid from TiledObject
it only appears in the Tile object
|
2020-05-31 00:46:00 -04:00 |
|
Darren Eberly
|
16bee5191d
|
Implemented Point, Rectangle, and Polygon casters
|
2020-05-31 00:45:47 -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
|
8b4b2eb4fd
|
fix: ellipse name = type
|
2020-05-31 00:26:53 -04:00 |
|
Benjamin Kirkbride
|
b6812e56b5
|
wip: ellipse casting
|
2020-05-30 23:58:34 -04:00 |
|
Benjamin Kirkbride
|
6bbb739bec
|
tests: fix missing visibility attribute
|
2020-05-30 23:57:14 -04:00 |
|
Benjamin Kirkbride
|
5c98e374f8
|
rf(common_types): int is implied by float
|
2020-05-30 23:27:57 -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
|
7d93308688
|
chore: add typing-extensions to requirements
|
2020-05-30 22:52:08 -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 |
|
Darren Eberly
|
b73f5bd311
|
tests: fix: added type to bottom right align text in tiled map
|
2020-05-30 22:36:11 -04:00 |
|
Benjamin Kirkbride
|
ce22692326
|
fix(tiled_object): TileImage is now just Tile
|
2020-05-30 22:22:14 -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
|
0b36a2e0cc
|
rf(tiled_object): rename TileImage to Tile
to match what the UI calls it
|
2020-05-30 21:52:17 -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
|
ac6a4ff379
|
Added full set of Polygons and Polylines to map
|
2020-05-30 21:32:11 -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 |
|
Darren Eberly
|
f585fe920c
|
Merge branch 'rf/caster' of https://github.com/Beefy-Swain/pytiled_parser into rf/caster
|
2020-05-30 20:31:44 -04:00 |
|
Benjamin Kirkbride
|
e42b7e7532
|
tests: fix visibility of invisible ellipse
|
2020-05-30 20:31:24 -04:00 |
|
Benjamin Kirkbride
|
ce016a5f8e
|
tests: fix visibility of invisible rectangle
|
2020-05-30 20:28:49 -04:00 |
|
Benjamin Kirkbride
|
13a0317911
|
fix(common_types): correct attribute name in docstring
|
2020-05-30 20:21:49 -04:00 |
|
Darren Eberly
|
47d4210391
|
Merge branch 'rf/caster' of https://github.com/Beefy-Swain/pytiled_parser into rf/caster
|
2020-05-30 20:19:08 -04:00 |
|
Benjamin Kirkbride
|
59e8a77b26
|
tests: use casted type, not dict
|
2020-05-30 20:18:57 -04:00 |
|
Benjamin Kirkbride
|
0beea21560
|
fix(tiled_object): imports
|
2020-05-30 20:18:38 -04:00 |
|
Benjamin Kirkbride
|
ba80ecaf64
|
feat: visible attribute to tiled_object
|
2020-05-30 20:18:24 -04:00 |
|
Darren Eberly
|
becf4de4ea
|
Added VS Code directory to gitignore
|
2020-05-30 19:26:06 -04:00 |
|
Benjamin Kirkbride
|
14c381ab56
|
re-doing everything as a caster instead of as a parser
|
2020-05-30 19:14:51 -04:00 |
|
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 |
|