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

Add an optional rectangle parameter to TextureNode #97

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Add an optional rectangle parameter to TextureNode #97

wants to merge 1 commit into from

Conversation

MyreMylar
Copy link
Contributor

So that users can specify their own area of the shared Texture to use. This allows more flexibility rather than having this functionality restricted to the TextureAtlas class which is specific to one particular approach to texture sharing.

This is a step toward having better support for tile maps such as those produced by the Tiled map editor (http://www.mapeditor.org/)

NOTE: I rejigged my original pull requests to hopefully make them easier to understand and less messy.

If this pull request is not substantial enough on it's own for inclusion then I can probably come back in a couple of weeks with a larger version that adds more functionality. I'm trying to help the best way I can, and am just not sure what the general process is for improving the library as an outsider.

… specify their own area of the shared Texture to use. This allows more flexibility rather than having this functionality restricted to the TextureAtlas class which is specific to one particular approach to texture sharing.
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

Successfully merging this pull request may close these issues.

None yet

1 participant