Skip to content

Expose TileSet parsing more directly #67

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Cleptomania opened this issue Apr 13, 2023 · 2 comments
Closed

Expose TileSet parsing more directly #67

Cleptomania opened this issue Apr 13, 2023 · 2 comments
Labels
enhancement New feature or request good first issue Good for newcomers
Milestone

Comments

@Cleptomania
Copy link
Member

Currently TileSet parsing is a fairly internal function not intended for general consumption, while it is possible to use, it's not necessarily designed for it.

There are valid use-cases where a user may want to just parse a TileSet and not a full map, and PyTiled Parser's API doesn't lend itself well to doing that.

@Cleptomania Cleptomania added enhancement New feature or request good first issue Good for newcomers labels Apr 13, 2023
@Cleptomania Cleptomania added this to the Version 2.3 milestone Apr 13, 2023
@Cleptomania
Copy link
Member Author

Our test suite is using TileSet parsing directly, so looking at how that works can give an idea of how to do that with the current API.

@Cleptomania
Copy link
Member Author

This is available in 2.2.3 with the pytiled_parser.parse_tileset function.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant