-
Notifications
You must be signed in to change notification settings - Fork 225
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
How to scale a character? #192
Comments
You have to scale armature in draw function using sf::RenderStates. sf::RenderStates states;
states.transform.scale(0.5f, 0.5f);
window.draw(*armatureDisplay, states); |
👍 Thank you,
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi :)
I am using the
helloDragonBones
example, and trying to scale down my character: so i do like that :but i got strange results : only one part of the character is scaled, and the armature does not seems to be scaled.
So is there a way i haven't seen, for scaling characters ?
Thank you,
The text was updated successfully, but these errors were encountered: