Rotate sprite before doing push #2428
Unanswered
griffinmt
asked this question in
Q&A - Sprites
Replies: 1 comment
-
There is no built in function to do this. You can push rotated sprites to another one but this would consume a lot of memory.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to fill a circular sprite with a gradient background, but rotated about 30 degrees. Then I will fill it with other details before pushing it onto the screen. How do I do this.
would like a function such as:
spr.fillRectVGradient(angle,x,y,w,h,color1,color2);
or
spr.fillCircVGradient(angle,x,y,radius,color1,color2);
Beta Was this translation helpful? Give feedback.
All reactions