Comments (3)
I’ll see if I can make some time to look through everything this week and see if we can make the parser compatible with both versions.
from pytiled_parser.
It looks like we’ll have to check the format version and dynamically handle different tags.
I’m thinking we will likely update the attribute name in our API to match the new Tiled API, but still be able to parse in the old name
from pytiled_parser.
I've release version 2.1.0 of pytiled-parser which should be fully functional with both Tiled 1.8 and 1.9. There is a slight API change, mainly just that the type
attribute of TiledObject
and Tile
classes has been renamed to class_
to stay consistent with Tiled's API. I've also updated Arcade in the development branch to this version and taken care of the API change there.
I don't have the ability to do a backport to a 2.6.X version of Arcade but I will bring that up because I think this definitely needs released in a 2.6.X version of it. As it stands Arcade 2.6 is incompatible with Tiled 1.9 maps, and Arcade 2.6 is incompatible with pytiled-parser 2.1.0.
Please note that pytiled-parser 2.1.0 does not necessarily add support for new features of 1.9, it simply makes it compatible with the formats for the existing supported featureset.
from pytiled_parser.
Related Issues (20)
- Investigate version typing HOT 2
- Finish support for wang sets HOT 1
- Add support for Transformations in Tilesets HOT 1
- Object templates for tile objects HOT 1
- Automatically convert infinite map data to finite HOT 2
- Fix for one parallax value being set but not the other HOT 1
- Incorrect link HOT 1
- API Docs HOT 1
- Create some examples
- Cross-loading for object templates HOT 2
- Serialization HOT 1
- Tiled 1.8 Support HOT 1
- Custom Properties
- Ability to parse map from already loaded files HOT 1
- Animation frame data fails to load for sheet based animations HOT 1
- Expose TileSet parsing more directly HOT 2
- Build out Programming Guide
- Tweak `Optional` types so that type assertions in arcade are not necessary HOT 1
- Missing `py.typed` marker HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pytiled_parser.