How can I make adboards like below that display repeated images? The main thing that I’m confused on is how to make it so the image “loops” and upates across the board.
For anyone confused, lets say I have one image, of an ad, or a surfaceGui of some sort, how can I get that one image to loop across the whole board like shown in the image above?
This Forum is very similar to what you want, I would recommend looking into it. To summarize the article, it is about moving a tiled decal and then setting its position back to create the illusion of repeated looping.
For example, this is a script I have in one of my projects:
task.spawn(function()
while true do // background is the decal and tws is the variable for TweenService
local tween = tws:Create(background, TweenInfo.new(5, Enum.EasingStyle.Linear), {Position = UDim2.fromScale(0, -1)})
tween:Play()
tween.Completed:Wait()
background.Position = UDim2.fromScale(0, 0)
end
end)
Edit: To create a tiled image, you can go to the decal and set ‘ScaleType’ to ‘Tiled.’