Explspike: Difference between revisions
From Spring
Jump to navigationJump to search
Evil4Zerggin (talk | contribs) No edit summary |
Evil4Zerggin (talk | contribs) No edit summary |
||
| Line 13: | Line 13: | ||
== Parameters == | == Parameters == | ||
=== length | === length === | ||
Starting length of the pike? | |||
=== width === | |||
Width of the pike at the base. | |||
=== alpha === | |||
The starting alpha of the pike. | |||
=== alphaDecay === | === alphaDecay === | ||
| Line 23: | Line 31: | ||
=== lengthGrowth === | === lengthGrowth === | ||
Not sure exactly what this does. | |||
=== dir === | === dir === | ||
The direction of the pike. | The direction of the pike. The larger this vector, the faster the pike will grow. | ||
=== color === | === color === | ||
The color of the pike. | The color of the pike. | ||
Revision as of 04:57, 25 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
Suggested Use
Explspike is good for making an explosion seem bright. It is good for situations where you want to suggest that a weapon is powerful without necessarily suggesting that it has a large area of effect.
Parameters
length
Starting length of the pike?
width
Width of the pike at the base.
alpha
The starting alpha of the pike.
alphaDecay
This is subtracted from the alpha every frame. If the alpha passes zero, the effect ends.
lengthGrowth
Not sure exactly what this does.
dir
The direction of the pike. The larger this vector, the faster the pike will grow.
color
The color of the pike.