Commit Graph

  • 452e8a29db test(layer): example stubs Benjamin Kirkbride 2020-06-09 21:13:28 -04:00
  • abc73fdf06 feat(layer): build out _get_common_attributes Benjamin Kirkbride 2020-06-07 21:48:34 -04:00
  • 34e898f3ef rf(layer.Layer): alphabetize Benjamin Kirkbride 2020-06-07 21:47:05 -04:00
  • d27b564bbc stub(layer.Layer): the tiled docs need work Benjamin Kirkbride 2020-06-07 21:46:29 -04:00
  • be0a3812e3 stub(layer): get common attributes Benjamin Kirkbride 2020-06-07 21:33:55 -04:00
  • cc5ddd1f54 doc(layer): cast docstring Benjamin Kirkbride 2020-06-07 21:33:38 -04:00
  • a6b8a8e6df Merge branch 'rf/caster' of https://github.com/Beefy-Swain/pytiled_parser into rf/caster Darren Eberly 2020-06-07 21:07:43 -04:00
  • e2651bfbc0 tests: implemented idnividual image tileset test with animated tiles and collision objects layer. Darren Eberly 2020-06-07 21:07:35 -04:00
  • 9a038655a4 Merge branch 'rf/caster' of github.com:Beefy-Swain/pytiled_parser into rf/caster Benjamin Kirkbride 2020-06-07 21:07:29 -04:00
  • a2aa9d9865 rf(layer): remove extra line Benjamin Kirkbride 2020-06-07 21:00:37 -04:00
  • e0d157ab86 changed width and height attributes of Layer to be optional to accurately reflect the JSON format Darren Eberly 2020-06-07 20:45:10 -04:00
  • 68ec66a227 changed id attribute of Layer to be optional because of it not being present in embedded object layers. Darren Eberly 2020-06-07 20:39:47 -04:00
  • e48455a329 Merge branch 'rf/caster' of https://github.com/Beefy-Swain/pytiled_parser into rf/caster Darren Eberly 2020-06-07 20:37:54 -04:00
  • 1a49382278 updated objectgroup layer casting to be accurate. It was previously being done as a list of TiledObjects rather than a Layer Darren Eberly 2020-06-07 20:37:32 -04:00
  • 0ec3c90d80 rf(layer): s/id/id_ Benjamin Kirkbride 2020-06-07 20:34:57 -04:00
  • 40616a78fd doc(layer): _get_caster docstring Benjamin Kirkbride 2020-06-07 20:31:30 -04:00
  • 77d42246a9 rf(layer): s/_get_layer/_get_group_layer Benjamin Kirkbride 2020-06-07 20:31:18 -04:00
  • 10cc5c2731 Merge branch 'rf/caster' of https://github.com/Beefy-Swain/pytiled_parser into rf/caster Darren Eberly 2020-06-07 20:21:39 -04:00
  • 97bd12de83 removed checking for type attribute as it should always appear in the JSON format. Darren Eberly 2020-06-07 20:21:35 -04:00
  • 58018e9871 stub(layer): get correct caster Benjamin Kirkbride 2020-06-07 20:20:11 -04:00
  • 802959c290 removed checking rotation and name as they will always be defined in the JSON format Darren Eberly 2020-06-07 20:16:38 -04:00
  • 0dbb7b33fb removed opacity attribute from TiledObject as that is not actually a possible attribute of Tiled Objects. Darren Eberly 2020-06-07 20:08:59 -04:00
  • e94906039c changed width and height to not check if they are truthy, as they should always be expected to be so Darren Eberly 2020-06-07 20:05:25 -04:00
  • c248f0eafc feat(map): map parsing Benjamin Kirkbride 2020-06-07 19:37:18 -04:00
  • 718b4ec0a8 rf: tileset, not tile set Benjamin Kirkbride 2020-06-07 17:13:34 -04:00
  • 9caaf209b4 stub(map): undo changes to tilesets Benjamin Kirkbride 2020-06-07 17:13:19 -04:00
  • bb3a8ca1f1 created a base for implementing Layer casting. Also made the types of Layer classes more accurate to Tiled's documentation Darren Eberly 2020-06-07 16:01:25 -04:00
  • 9a205829d9 tests: Added type key to all existing tileset tests Darren Eberly 2020-06-07 14:53:50 -04:00
  • d8b005a83c FIXME: rename to Tileset Benjamin Kirkbride 2020-06-07 14:45:38 -04:00
  • 4d9ea3a993 Merge branch 'rf/caster' of https://github.com/Beefy-Swain/pytiled_parser into rf/caster Darren Eberly 2020-06-06 19:59:03 -04:00
  • 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. Darren Eberly 2020-06-06 19:59:01 -04:00
  • 9c373dd815 tests: Started on test for animated tiles with collision shapes. Can't finish until Layer casting is finished Darren Eberly 2020-06-06 19:57:47 -04:00
  • a0ce33a563 tests: created a new tileset for individual image tiles with animations and properties Darren Eberly 2020-06-06 19:45:42 -04:00
  • 6753262328 chore: moved FIXME outside of docstring so pylint catches it Darren Eberly 2020-06-06 19:45:10 -04:00
  • 3087842cca feat(layer): stub cast Benjamin Kirkbride 2020-06-06 18:37:31 -04:00
  • 1b3e0e1e84 doc(map): size of a tile, not width Benjamin Kirkbride 2020-06-06 18:31:23 -04:00
  • b820dc5a4d doc(map): alphabetize the attributes Benjamin Kirkbride 2020-06-06 18:29:41 -04:00
  • 27f4cd86a0 doc(map): switch TMX to JSON Benjamin Kirkbride 2020-06-06 18:22:36 -04:00
  • 373204eb86 rf(map): alphabetize Benjamin Kirkbride 2020-06-06 18:08:25 -04:00
  • cb22d613b0 rf(map): this feature will need rethought Benjamin Kirkbride 2020-06-06 18:01:10 -04:00
  • f9d1ca9893 rf(map): don't mess with the default of the format Benjamin Kirkbride 2020-06-06 18:00:50 -04:00
  • c81785eb77 tests: Added tileset_grid test Darren Eberly 2020-06-06 17:48:05 -04:00
  • a2b0c2a312 Temporarily remove layers attribute from RawLayer until it can be fixed properly Darren Eberly 2020-06-06 17:47:41 -04:00
  • 200b227137 fix: added missing import for RawLayer Darren Eberly 2020-06-06 17:45:58 -04:00
  • d92276a766 build out more of the map module Benjamin Kirkbride 2020-06-06 17:12:17 -04:00
  • b07f30fd0d implemented RawLayer class Darren Eberly 2020-06-06 15:28:15 -04:00
  • 6c3e6af0a6 tests: fix tileset tests to work with new test_data file structure Darren Eberly 2020-06-06 15:08:35 -04:00
  • 732a5a52b0 Merge branch 'rf/caster' of https://github.com/Beefy-Swain/pytiled_parser into rf/caster Darren Eberly 2020-06-06 14:58:35 -04:00
  • 99054c4a8d chore: fixed too many local variables in tileset.cast Darren Eberly 2020-06-06 14:58:26 -04:00
  • b97930fece rf(map): cast, not parse Benjamin Kirkbride 2020-06-06 14:56:04 -04:00
  • e2e3873b1d chore: moved location of tileset.cast in the code. Darren Eberly 2020-06-06 14:55:38 -04:00
  • ae7f37f4cd Merge branch 'rf/caster' of github.com:Beefy-Swain/pytiled_parser into rf/caster Benjamin Kirkbride 2020-06-04 21:52:19 -04:00
  • f911844456 tests: move image up a level Benjamin Kirkbride 2020-06-04 21:52:07 -04:00
  • 9c45223e10 tests: implemented tile_offset test Darren Eberly 2020-06-04 21:50:52 -04:00
  • 94a733d537 Merge branch 'rf/caster' of https://github.com/Beefy-Swain/pytiled_parser into rf/caster Darren Eberly 2020-06-04 21:46:24 -04:00
  • 2ed04ae204 tests: refactored the way tileset test directories are handled. Switching from finding all directories to manually listing. Darren Eberly 2020-06-04 21:46:13 -04:00
  • 7c4071c0f2 tests: all currently implemented tileset tests passing. Darren Eberly 2020-06-04 21:45:39 -04:00
  • b860e88f15 test:fix(image_transparent_color): darren messed up big tim Benjamin Kirkbride 2020-06-04 21:35:01 -04:00
  • 20eb9a4a59 test:fix: properly read tileset Benjamin Kirkbride 2020-06-04 21:30:48 -04:00
  • db33e6bc67 Merge branch 'rf/caster' of github.com:Beefy-Swain/pytiled_parser into rf/caster Benjamin Kirkbride 2020-06-04 21:28:47 -04:00
  • 107bf406bc tests: updated expected variable in all expected.py files Darren Eberly 2020-06-04 21:28:35 -04:00
  • 6d64db1aaf test(tileset): add tests Benjamin Kirkbride 2020-06-04 21:28:34 -04:00
  • 4c504549c0 tests: implemented tileset with properties test Darren Eberly 2020-06-04 21:26:43 -04:00
  • e2157ffa20 tests: implemented multiple tileset tests Darren Eberly 2020-06-04 21:23:11 -04:00
  • 5c519bde9e Merge branch 'rf/caster' of github.com:Beefy-Swain/pytiled_parser into rf/caster Benjamin Kirkbride 2020-06-04 20:53:56 -04:00
  • 9bb66296b9 test: set up structure for tilesets Benjamin Kirkbride 2020-06-04 20:53:53 -04:00
  • 695f4bd363 Merge branch 'rf/caster' of https://github.com/Beefy-Swain/pytiled_parser into rf/caster Darren Eberly 2020-06-04 20:51:57 -04:00
  • 99b4befcb4 chore(test): move maps to a subdir Benjamin Kirkbride 2020-06-04 20:45:30 -04:00
  • e9999ad9fe Implemented tileset casting Darren Eberly 2020-06-04 20:44:53 -04:00
  • 8d25142f48 add(layer): the missing objects Benjamin Kirkbride 2020-06-04 20:42:11 -04:00
  • 2cef181663 Merge branch 'rf/caster' of https://github.com/Beefy-Swain/pytiled_parser into rf/caster Darren Eberly 2020-06-04 20:16:28 -04:00
  • f658e763eb Updates to tileset casting Darren Eberly 2020-06-04 20:15:07 -04:00
  • b735857fe6 test: tileset stuff Benjamin Kirkbride 2020-06-04 20:10:40 -04:00
  • ebd0b0c121 Merge branch 'rf/caster' of https://github.com/Beefy-Swain/pytiled_parser into rf/caster Darren Eberly 2020-06-02 20:45:35 -04:00
  • d3fe310d7f Implemented TypedDicts for the raw data of all classes within TileSet Darren Eberly 2020-06-02 20:45:33 -04:00
  • f09abd1f48 rf(tileset): underscore appended to attribute Benjamin Kirkbride 2020-06-02 20:44:23 -04:00
  • c68a939cf9 test:chore: organized all the current test maps Benjamin Kirkbride 2020-06-02 20:35:42 -04:00
  • 60b991542f test:add: maps and tilesets for testing Benjamin Kirkbride 2020-06-02 20:07:39 -04:00
  • c83f79adb0 chore: major cleanup Benjamin Kirkbride 2020-06-02 20:02:37 -04:00
  • 80db745a6d refactor: changed naming convention for RawProperty to be more clear Darren Eberly 2020-06-01 22:08:08 -04:00
  • 3e9bf10e70 docs: updated properties.py docstrings Darren Eberly 2020-06-01 22:04:18 -04:00
  • 484e1ac69c docs: added docstrings to properties module Darren Eberly 2020-06-01 21:55:11 -04:00
  • 250ebc2d7d rf(tiled_object): compare to None, not Truthy Benjamin Kirkbride 2020-06-01 21:42:27 -04:00
  • e8f949c9e5 Merge branch 'rf/caster' of github.com:Beefy-Swain/pytiled_parser into rf/caster Benjamin Kirkbride 2020-06-01 21:41:30 -04:00
  • 1a4d9a6b92 feat(tiled_object): Text object support Benjamin Kirkbride 2020-06-01 21:41:18 -04:00
  • b7c4b3ba76 refactor: Removed templates as an attribute of TiledObjects Darren Eberly 2020-06-01 21:38:08 -04:00
  • 79f36a8f25 fix: Changed RawTiledObject properties list to match casting requirements Darren Eberly 2020-06-01 21:36:26 -04:00
  • ea43d05090 tests: fix: fixed all polyline tests Darren Eberly 2020-06-01 21:26:43 -04:00
  • 9af16fce71 feature: implemented polyline casting Darren Eberly 2020-06-01 21:26:29 -04:00
  • 99bfdbc6ae tests: fix: fixed polygon ID 20 test Darren Eberly 2020-06-01 21:21:37 -04:00
  • 6de198f8f0 tests: fix: fixed polygon ID 10 test Darren Eberly 2020-06-01 21:21:11 -04:00
  • 33010405a1 tests: fix: Fixed Point ID 3 test Darren Eberly 2020-06-01 21:20:25 -04:00
  • 3683ce59ce Merge branch 'rf/caster' of https://github.com/Beefy-Swain/pytiled_parser into rf/caster Darren Eberly 2020-06-01 21:15:50 -04:00
  • 3745b6bea5 refactor: changed RawProperties in properties.py to be a TypedDict Darren Eberly 2020-06-01 21:14:11 -04:00
  • 106ccab685 tests:fix: use correct name of cast function Benjamin Kirkbride 2020-06-01 21:01:41 -04:00
  • 0011efdbc2 fix(properties): Darren doesn't know how to use VSCode Benjamin Kirkbride 2020-06-01 21:01:23 -04:00
  • 00ee34a058 Merge branch 'rf/caster' of github.com:Beefy-Swain/pytiled_parser into rf/caster Benjamin Kirkbride 2020-06-01 20:58:27 -04:00
  • d89eb914e2 rf(tiled_object.Text): better organize attributes Benjamin Kirkbride 2020-06-01 20:54:21 -04:00
  • 141599ba38 Merge branch 'rf/caster' of https://github.com/Beefy-Swain/pytiled_parser into rf/caster Darren Eberly 2020-06-01 20:51:16 -04:00
  • 0a3bb8b51a feature: Re-implemented properties casting to support casting properties for things outside of TiledObjects Darren Eberly 2020-06-01 20:51:05 -04:00