Mrnoobisnotonfire Posted November 6, 2024 Posted November 6, 2024 I wanna add some pretty cool png on successful counter hit like this one. Heres the code if you wanna know why I cant do it: ;Success cat counter [Statedef 429] type = S MoveType = A Physics = S anim = 424 [State 429, Helper] type = Helper trigger1 = time = 0 name = "Deffo no Item Assylum reference." stateno = 425 pos = 0,gameheight ID = 5 postype = Left ownpal = 1 size.xscale = gamewidth/490 size.yscale = gameheight/615 ignorehitpause = 1 [State 424, NotHitBy] type = NotHitBy trigger1 = prevstateno = 199 value = SCA;,AA,AP,AT [State 424, ScreenBound] type = ScreenBound trigger1 = time < 99 value = 1 [State 424, Explod] type = Null ;Explod (wanna replace this with the new one) trigger1 = !time anim = 2018 ; Original cat.png (build in ''disappear after 15 ticks'') postype = Left facing = 1 vfacing = 1 bindtime = 40 removetime = -2 supermovetime = 9999 pausemovetime = 9999 scale = gamewidth/490,gameheight/615 sprpriority = 5 ontop = 1 shadow = 0,0,0 ownpal = 1 removeongethit = 0 [State 424, HitDef] type = HitDef ;Le counter trigger1 = !time attr = ,NA ;SCA,NA,SA,HA,NP,SP,HP,NT,ST,HT hitflag = MAF ;HLAFD+- Getpower = 0,0 guardflag = MA ;HLA animtype = Up ;Light, Medium, Hard, Back, Up, DiagUp air.animtype = Hard priority = 20, Hit damage = 125,0 pausetime = 0,0 sparkno = -1 guard.sparkno = -1 sparkxy = 0,0 hitsound = S1,0 guardsound = S2,0 ground.type = Low ;Low, Trip, None ground.slidetime = 0 air.hittime = 69 fall.recover = 0 ground.velocity = -99,-5 air.velocity = -99,-5 p1sprpriority = 0 p2sprpriority = 1 fall = 1 [State 424, CtrlSet] type = CtrlSet trigger1 = time > 10 value = 1 [State 424, 5] type = ChangeState trigger1 = time = 20 ;25 value = 0 ;THE MAXWELL COUNTER.png (Cat.png will appear here) [Statedef 425] type = U ctrl = 0 anim = 2021 [State 102,00] type = AssertSpecial trigger1 = 1 flag = noshadow [State 102,00] type = Trans ; IDK make it disappear 15 ticks later trigger1 = 1 Trans = AddAlpha Alpha = 256-Floor(Time*15.6),256 [State 102, 7] type = SprPriority trigger1 = 1 value = 3 ;Code not done yet. Need further observation. Any way to make it appear on the corner?
Question
Mrnoobisnotonfire
I wanna add some pretty cool png on successful counter hit like this one.
Heres the code if you wanna know why I cant do it:
Any way to make it appear on the corner?
0 answers to this question
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