Sprite Variants of Other Shapes

Category: PyAngelo

Last updated 2 months ago

Zac Parkes

Zac Parkes Asked 3 months ago

Hi,

Just like how some shapes (rect, circle, etc.) have their sprite variants (RectangleSprite, CircleSprite, etc.), does anything like this exist for other shapes (triangle(), arc(), quad(), etc.)? After a bit of searching I haven't found anything of the sorts.

 

Thanks!


Jeff Plumb

Jeff Plumb Answered 2 months ago

Sorry, there are no other variants for different shapes. You can create your own classes for these shapes, or you can use an image as part of a regular Sprite() object.


Notify me of updates
Add to Favourites
Back to Questions

No comments yet!


Become a free member to post a comment about this question.