How would I make a sliding picture?

Hello, Developers. I recently began development on my Airline Staff HQ. I have wanted to make a sliding image, that goes vertically down. Please leave any help/advice below. This is the image I want to make slide. Thank you!

1 Like

You could use beams to make the image go down and loop:

You can make a SurfaceGui with an Image label, then you can do ImageLabel:TweenPosition()

As @astrozzyz said, You can make it using a SurfaceGui, but when you put the images in, put them into a frame that has Clip-Descendants on, meaning you will only see the image once it has entered the Frame’s position. Then from here onwards, just make a script that slowly tweens the images down, causing the next image to appear.

Hope this helps!

There are many ways. You can use a Beam as @ethswan suggests, if the quirks of Beams are acceptable. They sometimes sort weird and can be difficult to control the speed of, and it might not look like the graphic is exactly on the part.

SurfaceGui can also be used. You can animate the position of the graphic with a script, and set the frame to ClipsDescendants.

You can also animate the StudsOffsetV property of a Texture object, and you could put a few images into a tall texture strip to have it scroll.

For solutions that involve setting offsets for ImageLabels and Textures, you should make sure you’re doing it from a LocalScript, otherwise you’ll generate a lot of unnecessary property updates that replicate every frame. I know it’s convenient to just slap server Scripts on things, but it’s bad for the network performance of your game.

1 Like