Good actor scaling technique
What is a great way to make an image actor scale to nothing (or real small) when tapped, then grow again to the original size, but as a different image (Same sized images of course).
And are there different techniques that can be used to alter the motion. Speed, elasticity etc. It would be nice for the image to pop down, then pop up again with nice velocity motion. Kind of like a spring motion.
Or am I hoping too much. At the moment I'm using the interpolate attribute behaviour and it really isn't cutting it.
And are there different techniques that can be used to alter the motion. Speed, elasticity etc. It would be nice for the image to pop down, then pop up again with nice velocity motion. Kind of like a spring motion.
Or am I hoping too much. At the moment I'm using the interpolate attribute behaviour and it really isn't cutting it.
Comments
When touch is pressed:
-interpolate self.size.width to 5, duration of 0.7
-interpolate self.size.height to 5 duration of 0.7
In the same when touch is pressed rule have a timer after 0.7 seconds run to completion checked
and in that timer have a change image changing to the image you want, interpolate self.size.width back to the original size duration 0.7, and interpolate self.size.height to the original size duration of 0.7
cheers
That's what I have at the moment, but it's a very static down then up. Do you know of any other technique that'll give it a spring pop motion.
Also changed the durations to 0.2