2D Toolkit Forum
2D Toolkit => Support => Topic started by: Jimadybobalon on July 23, 2013, 12:26:39 pm
-
As the title says, is there any way to offset a sliced sprite? I want the functionality of a clipped sprite, but without the position of the image changing. So I basically want the window that I'm displaying to stay perfectly still, but the image that's rendering to be able to move along that image.
Am I missing a setting somewhere?
-
Nope, the sliced sprite is meant to be just that - a sliced sprite. If you want to clip it or other things, I suggest looking into how the tk2dUIMask works - that pretty much works with any sprite type / text and is really flexible. You can use it for a lot more than just UI.