I would like to be able to clip sprites to a rectangular region. An arbitrary (e.g. alphamask) clip region would work, too.
When you rotate or scale a sprite, it will occupy more space than it originally did. I want to restrict rendering to a certain region so the sprite doesn't go outside a certain area.
Example:
Scripting is trivial:
Yes, I do have a need for this. ;P Especially the rectangle clipping. I'm fine with not being able to use an alphamask.
When you rotate or scale a sprite, it will occupy more space than it originally did. I want to restrict rendering to a certain region so the sprite doesn't go outside a certain area.
Example:
Scripting is trivial:
_X,...,UL1X,UL1Y,LR1X,LR1Y,UL2X,UL2Y,LR2X,LR2YTransition from ((UL1X, UL1Y), (LR1X, LR1Y)) to ((UL2X, UL2Y), (LR2X, LR2Y)).
Yes, I do have a need for this. ;P Especially the rectangle clipping. I'm fine with not being able to use an alphamask.