Is it possible to animate a SurfaceGUI with decals as frames?

Hello,

So I want to make a jumbotron-like build but I want it to be animated, I have the frames I want to animate it with as decals, but I just want to know if it’s possible at all.

Thank you,

VeryRBLX

You’ll want to use a sprite sheet and change these properties in the image label via a script.

Example of a spritesheet

image

ImageRectOffset is the upper left pixel the image is displaying from in your imagelabel and ImageRectSize is the amount of pixels the image will display (starting from the upper left)

Example:
This is my image when ImageRectOffset is 0,0 and ImageRectSize is 37,39
image
This is the same image, but instead ImageRectOffset is 0,13 and ImageRectSize is 36,27
image
(notice how the upper left corner moved down the image and i made the size smaller)

Let’s say I made another sprite on the same image:
image

If I rapidly switch between these, it’ll be animation:
birb

If you switch to different squares in a sprite sheet quickly enough, you can do 2D animation, which is what I think you’re looking for on your jumbotron.

Edit:

Based on this great image

12 Likes

Thank you for the help!