-
-
Notifications
You must be signed in to change notification settings - Fork 205
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
Support for fixed sprite content size regardless of new texture content #1896
Comments
Not sure about the best way to add this feature. Can add a new Another option would be to add something to |
With PR #1897 a simple call to |
API: change to setAutoSize? |
Yes! That makes way more sense. Will update the PR. |
This isn't really a bug, since the current implementation is correct. Sprite frames can have different sizes, and a sprite should change size depending on the texture size of the frame.
It would be nice to have the ability to lock the sprite size so that it ignores the new frame texture size. This would typically be used with stretch mode enabled.
Use
grossini.plist
sprite sheet and texture from cpp-tests.Expected output when animating (size of
200, 200
due to stretch factor):Actual output while animating:
The text was updated successfully, but these errors were encountered: