The Mugen Fighters Guild

Help => M.U.G.E.N Development Help => Topic started by: SPzero65 on February 15, 2021, 11:21:17 PM

Title: Projhit anim scaling with projectile
Post by: SPzero65 on February 15, 2021, 11:21:17 PM
First time posting here, though I have found many solutions by perusing these forms before. But I cannot figure this one out, even though I'm sure there's an easy fix. I'm scaling my projectile using the projscale (rather than resizing every sprite individually), but the problem is that the sprites that play when the projectile hits p2 (the fireball explosion) also scales down by the same amount, and it ends up being way too small. Is there a way to scale the hit animation differently than the fireball itself?
Also, is there a way to set the coordinates of the projhitanim separately as well? It seems to be off the mark when paired with the projectile.

Here is my state:

[State 6000, 2]
type = Projectile
trigger1 = AnimElem = 10
projanim = 6001
projscale = 0.06, 0.05
projhitanim = 6002
offset = 30, -30
velocity = 3, 0
attr = S, SP
animtype  = Hard
damage    = 90, 4
priority  = 5
guardflag = MA
hitflag = MAF
pausetime = 15,5
sparkxy = -10,-60
hitsound   = 5,4
guardsound = 6,0
ground.type = High
ground.slidetime = 8
ground.hittime  = 17
ground.velocity = -4
air.velocity = -4,-3
fall= 1

Any help is much appreciated
Thanks.
Title: Re: Projhit anim scaling with projectile
Post by: Cyanide on February 17, 2021, 09:05:09 AM
Projectiles are super limited sometimes. Youll want to convert to helper to sort this out.