How to make Rect of irregular shape sprite?
Posted
by
Anil gupta
on Game Development
See other posts from Game Development
or by Anil gupta
Published on 2012-07-05T02:45:52Z
Indexed on
2012/07/05
3:23 UTC
Read the original article
Hit count: 553
I used masking for breaking an image as the below mention pattern now its breaking in different pieces but now i have one issue to make the Rect of each pieces, i need to drag the broken pieces and to adjust at correct position so that i can make again actual images. To drag and put at right positing i need to make Rect but i am not getting idea how to make Rect of this irregular shape, I will be very thankful to you, any idea or code to make rect . My previous Question is:
How do I break an image into 6 or 8 pieces of different shapes?
Thanks.
© Game Development or respective owner