YesNoOk
avatar

Projhit anim scaling with projectile (Read 619 times)

Started by SPzero65, February 15, 2021, 11:21:17 PM
Share this topic:
Projhit anim scaling with projectile
#1  February 15, 2021, 11:21:17 PM
  • avatar
    • Canada
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.
Re: Projhit anim scaling with projectile
#2  February 17, 2021, 09:05:09 AM
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
Projectiles are super limited sometimes. Youll want to convert to helper to sort this out.


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.