vertical alignment of fireball trails
Posted: Sat Mar 21, 2009 3:12 pm
I used A_SpawnItem to spawn sprites behind a fast projectile. It works fine except for when you shoot up or down. Then it looks like a bunch of steps. Is there a way to get it to be a continuous incline? So far, I replaced the vertical displacement by momz, but I think it's probably more complicated than that. So far this doesn't behave any differently from before.
Code: Select all
FX03 B 0 bright A_SpawnItem("KineticTrail", 1, momz, 0)
FX03 B 0 bright A_SpawnItem("KineticTrail", 3, momz, 0)
FX03 B 0 bright A_SpawnItem("KineticTrail", 5, momz, 0)
FX03 B 0 bright A_SpawnItem("KineticTrail", 7, momz, 0)
FX03 B 0 bright A_SpawnItem("KineticTrail", 9, momz, 0)
FX03 B 0 bright A_SpawnItem("KineticTrail", 11, momz, 0)
FX03 B 0 bright A_SpawnItem("KineticTrail", 13, momz, 0)
FX03 B 0 bright A_SpawnItem("KineticTrail", 15, momz, 0)
FX03 B 1 bright A_SpawnItem("KineticTrail", 17, momz, 0)
Loop