I want to split a texture into variously shaped pieces with libgdx, like the pieces of a puzzle game. TextureRegion.split()
is not an option, as it splits into equally sized rectangular texture regions.
The "Similar Questions" section here is helpful (particularly this question How do I break an image into 6 or 8 pieces of different shapes?), but I'm not sure yet if it's possible to implement the solution with libgdx.
Any pointers?