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

Draw multiple translated with rotation #100

Open
suprohub opened this issue Jul 5, 2024 · 1 comment
Open

Draw multiple translated with rotation #100

suprohub opened this issue Jul 5, 2024 · 1 comment
Labels
question Further information is requested

Comments

@suprohub
Copy link
Contributor

suprohub commented Jul 5, 2024

how rotate clones?

@tversteeg
Copy link
Owner

If you want to rotate all of them with the same rotation:

ctx.sprite(..).rotate(..).draw_multiple_translated(..)

I don't have an API yet to draw each sprite with a different rotation, but that shouldn't be too difficult to add.

@tversteeg tversteeg added the question Further information is requested label Jul 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants