Hi, I have a set of sprites some of which aren't perfectly centered inside the image (and this must be that way). I am trying to use tk2dClippedSprite to cut the sprite into 4 parts but unfortunately the clipping coords are applied to the trimmed sprite and not the whole sprite.
E.g. here is the initial sprite which I want to cut into 4 equal parts (see "initial_spr.png")
So, I create 4 ClippedSprite's with the following clipping coords:
( (0, 0), (0.5, 0.5) )
( (0.5, 0), (1, 0.5) )
( (0, 0.5), (0.5, 1) )
( (0.5, 0.5), (1, 1) )
and expect to get this (see "req_cuts.png")
But I get this (see "clipped_cuts.png")
Is it at all possible to get what I need with the provided ClippedSprite class?
Any other solution?
Thanks!