I'd like to use a spritesheet in GUI for a game of mine, but I'm not sure how I would go about using one. Any help would be much appreciated! :D
Using the ImageRectSize
and ImageRectOffset
properties of the two Image* gui objects, you can use spritesheet decals. The 'rect' is the size of each individual sprite (you can change this on the fly if you want to.) and the 'offset' is akin to the UDim3 Offset component in that it's based on the top-left corner.
I'd add links but I'm on mobile right now, sorry!