-
Notifications
You must be signed in to change notification settings - Fork 103
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 helper for obtaining UVs #166
Comments
Perhaps it would be a good idea to also create a |
I am for this, as it keeps the API flatter and more performant. I like your suggestion in #164 of just returning a rect measured in pixels. In the helper function:
|
It would be inconsistent anyways. The lifetime of the suggested Tile facade would be of |
Just to mention, personally I would find it more suitable to pre-calculate and store the UVs (or rather, the pixel location) of each tile and store it in the |
Postponing to 0.11 since the change is no longer breaking. |
Add a function for obtaining the UV of a tile given its ID.
The text was updated successfully, but these errors were encountered: