Explspike: Difference between revisions
From Spring
Jump to navigationJump to search
Evil4Zerggin (talk | contribs) New page: == Introduction == Explspike basically makes rays of light, like sunlight leaking into a dusty room, but without the dust. == Source == https://spring.clan-sy.com/svn/spring/trunk/rts/S... |
Evil4Zerggin (talk | contribs) No edit summary |
||
| Line 20: | Line 20: | ||
The length increases by this amount every frame. | The length increases by this amount every frame. | ||
=== dir === | === dir === | ||
Revision as of 05:28, 23 March 2008
Introduction
Explspike basically makes rays of light, like sunlight leaking into a dusty room, but without the dust.
Source
https://spring.clan-sy.com/svn/spring/trunk/rts/Sim/Projectiles/Unsynced/ExploSpikeProjectile.cpp
Parameters
length, width, alpha
Exactly what you'd expect.
alphaDecay
This is subtracted from the alpha every frame. If the alpha passes zero, the effect ends.
lengthGrowth
The length increases by this amount every frame.
dir
The direction of the pike.
color
The color of the pike.