Skip to content
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

TiledMap.GetSourceRect does not consider tileset spacing #101

Open
Peewi opened this issue Mar 1, 2023 · 0 comments
Open

TiledMap.GetSourceRect does not consider tileset spacing #101

Peewi opened this issue Mar 1, 2023 · 0 comments

Comments

@Peewi
Copy link

Peewi commented Mar 1, 2023

I realize that this library is no longer maintained, but I am still making this issue so that others might see it without running into it themselves.

TiledMap.GetSourceRect does not consider tile spacing in tilesets, which will cause incorrect results for any tileset with non-zero spacing.

TiledTileset has a Spacing property that is loaded from the tileset file, but it is never used.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant