Jump to content

Need help with Spriter. Making a custom badge.

Recommended Posts

I am making a custom badge, but for some reason it appears invisible.


Here is my spriter file:



In my badge widget:

Badge._ctor(self, nil, owner, { 70 / 255, 112 / 255, 29 / 255, 1 }, "status_soul", nil, nil, true)


self.circleframe:GetAnimState():SetPercent("frame", 0.2)

I named the compiled zip file status_soul, and put it in my mod's anim folder

Anyone know why it appears invisible in-game?

Edited by zaptrap
Link to comment
Share on other sites

i was messing around with badge widgets recently, this sounds dumb but have you tried playing the animation?

self.circleframe:GetAnimState():PlayAnimation("frame") or something similar.

Link to comment
Share on other sites

Oh my god I finally got it to work.

I renamed the animation in spriter to "frame", but it still didn't work

but then when I added a new "idle" animation, for some reason that causes it to work (even though idle isn't being used)

spriter is 10/10

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...