I am trying to animate a victory sprite sheet but it just isn’t working, mainly because it is a pain to keep adjusting the settings and almost always never works. Anyways, how would I go about animating this. There are 5 columns and 5 rows, totaling to 25 sprites. Here is the sprite sheet:
2 Likes
Check this plugin out:
Yep already tried that but got unexpected results.
1 Like
Don’t know what you mean by unexpected results. If you’re talking about pixelation/blur, then there’s nothing to do here. Roblox scales down images so that the longest side is only 1024 pixels. This means that your image is actually 1024x697.
Here’s my short script that sets it up:
local libSprite = require(script.Parent)
local objSprite = libSprite.new()
objSprite.InheritSpriteSheet = false
objSprite.SpriteSizePixel = Vector2.new(1024/5, 697/5)
objSprite.SpriteCount = 25
objSprite.SpriteCountX = 5
objSprite.SpriteSheet = "rbxassetid://7461050046"
objSprite.Adornee = script.Parent.Parent
objSprite:Play()
Also, leaving ResampleMode at Default is actually better in your case because of the smoke effects.
1 Like