zaptrap Posted May 30, 2022 Share Posted May 30, 2022 (edited) 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():SetBank("status_soul") self.circleframe:GetAnimState():SetBuild("status_soul") 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 May 30, 2022 by zaptrap Link to comment Share on other sites More sharing options...
hhh2 Posted May 30, 2022 Share Posted May 30, 2022 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 More sharing options...
zaptrap Posted May 30, 2022 Author Share Posted May 30, 2022 It didn't work... Link to comment Share on other sites More sharing options...
zaptrap Posted May 30, 2022 Author Share Posted May 30, 2022 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 More sharing options...
hhh2 Posted May 30, 2022 Share Posted May 30, 2022 blame the game not the player. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now