Firing animations and energy glow
Posted: Wed Apr 24, 2019 11:32 am
Hi,
The laser turret has an energy_glow_animation parameter, which is drawn on top of the sprite when the turret is firing. Because laser turrets are beams, they are either on/off, so there is only one glow sprite per direction.
Before I go to a lot of trouble rendering a lot of sprites, does anyone know if it is possible to have multiple glows per direction? I can see that there is a frame count parameter, like there is for the gun turret rolling barrels, but my gut feeling is that this will continually loop.
Use case: an energy weapon which isn't a beam but fires a projectile, but builds up a glow, fires, then the glow fades. So the glow animation plays just once, every time the turret fires. I have a feeling that energy_glow_animation won't work or will only show for a single frame for projectiles - has anyone tried it?
The laser turret has an energy_glow_animation parameter, which is drawn on top of the sprite when the turret is firing. Because laser turrets are beams, they are either on/off, so there is only one glow sprite per direction.
Before I go to a lot of trouble rendering a lot of sprites, does anyone know if it is possible to have multiple glows per direction? I can see that there is a frame count parameter, like there is for the gun turret rolling barrels, but my gut feeling is that this will continually loop.
Use case: an energy weapon which isn't a beam but fires a projectile, but builds up a glow, fires, then the glow fades. So the glow animation plays just once, every time the turret fires. I have a feeling that energy_glow_animation won't work or will only show for a single frame for projectiles - has anyone tried it?