Animated UI Banners

A friend of mine showed me this Tiktok which has animated banners for a basketball game they’re working on.

I’m aware of using sprite sheets for animating specific things, but is there another way that this is done?
If so, how is it done?

You could use a video animator or you can hire an artist to do it for you.

That’s not what I’m asking, I’m asking how it’s made on Roblox. Roblox doesn’t allow users to create videos yet.

1 Like

But in Studio, your allowed to upload videos such as for billboards and banners. You can also upload your creation to the marketplace.

No. Sprite sheets are the only way to make GIFs in roblox. Roblox does not have any instance or anything to support a GIF/video gui format.

How is this done? I’ve never heard of such a thing.

1 Like

Try This

ok first of all make a gif of any sort or steal then go to this website: Turn gif into sprite sheet and get its size x and y and its rows and columns
and then: (took this from a script not gonna edit a lot.

	for i,image in pairs(script.Parent:GetDescendants()) do
		if image:FindFirstChild("LastFrame") then
			local size,colums,rows,frames = image.ISize,image.Columns,image.Rows,image.Frames
			local framesize = Vector2.new(size.Value.X/rows.Value,size.Value.Y/colums.Value)
			image.ImageRectSize = framesize
			local frametable = {}
			local r,c = 0,0
			for i=1,frames.Value do
				local vec = Vector2.new(r,c)
				table.insert(frametable,vec)
				r += 1
				if r > rows.Value-1 then
					r = 0
					c += 1
				end
			end
			image.ImageRectOffset = frametable[image.LastFrame.Value]*image.ImageRectSize
			image.LastFrame.Value += 1
			if image.LastFrame.Value > #frametable then
				image.LastFrame.Value = 1
			end
		end	
	end
1 Like

VideoFrame just uses pre-existing Roblox videos from years ago, you can’t upload your own.

So, the only way is through sprite sheets? Thank you!

mhm or you can just use 1 billion trillion images (metaphorically) to do it.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.