-
Notifications
You must be signed in to change notification settings - Fork 8
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
Tileset caching #17
Comments
you can do caching, it would be done by passing your own loader here Line 77 in 1ee5af3
As for the FirstGid property, it's merely matching Tiled's behavior. But if this has changed over the years, I will implement a migration for the version change and adjust the behavior. |
That's what I did, but still |
Is object rotation not supported? Or am I missing something? |
I realized that external tilesets are loaded for each map separately and there is no way to cache them since in your implementation tilesets contain information about first gid. I propose changing
Tileset
references in ExternalTileset toITiIeset
and makeExternalTileset
not propagate theFirstGid
property but instead offset the gid inthis[int gid]
.Also will fork this repo and apply the second change I mentioned (without a PR) because I need this feature for GlobalGameJam which is starting "soon".
The text was updated successfully, but these errors were encountered: