#Lerp screen images

4 messages · Page 1 of 1 (latest)

fluid flint
#

How can I lerp multiple screen images in vertical loop? Any rrefereces or hint, I can't acces screen image via getTransform()

astral gale
analog cove
#

You might be able to do it using the TweenTransform script (from the standard Tween assets). Set the start to off-screen (top or bottom) and the end off-screen in the other direction, set it to loop. Play with the easing values to find a velocity curve that suits your application.
This will move one image vertically, and then you can do the same for each of the other images with slowly increasing delays before activation.
It'll be a little tricky if you want to repeat the same images without a gap at the repeat point (you'll need to match the move distance to the total height of all your images).