- Home /
How to break a sprite into shapes with script
So I'm trying to make a sprite break into pieces with a script and I've found this post that cuts the original sprite into a bunch of squares. I would like to do this with any polygon.
In this picture the first example is what the script in the post could do, but I would like to be able to cut it into a shape such as a triangle like in the second example. How can I go about doing this?
plshelp.png
(5.4 kB)
Comment
Your answer
Follow this Question
Related Questions
Way to have 2D Sprites lit by Lights? 3 Answers
What can I do to further optimize mobile game? (2D) 0 Answers
transform.position not doing anything 1 Answer
Sprite.Create is not working 1 Answer