https://sjbaker.org/wiki/index.php?title=GameTools_gameParticleManager&feed=atom&action=historyGameTools gameParticleManager - Revision history2024-03-28T22:38:44ZRevision history for this page on the wikiMediaWiki 1.24.4https://sjbaker.org/wiki/index.php?title=GameTools_gameParticleManager&diff=87&oldid=prevSteveBaker: New page: This package contains a number of 'canned' special effects. Each can be positioned initially - some allow you to set approximate overall dimensions. Each effect can be created with a sin...2007-10-24T04:41:39Z<p>New page: This package contains a number of 'canned' special effects. Each can be positioned initially - some allow you to set approximate overall dimensions. Each effect can be created with a sin...</p>
<p><b>New page</b></p><div>This package contains a number of 'canned' special effects. Each can be positioned initially - some allow you to set approximate overall dimensions. Each effect can be created with a single call - and will clean itself up when it finishes running - or in the event that too many particle systems are simultaneously in effect:<br />
<br />
ssgTransform *addCombatFx ( sgVec3 pos ) ;<br />
ssgTransform *addDustFx ( sgVec3 pos ) ;<br />
ssgTransform *addFlatDustFx ( sgVec3 pos ) ;<br />
ssgTransform *addFireFx ( sgVec3 pos, float size, float height );<br />
ssgTransform *addZapFx ( sgCoord *pos, float size, float height );<br />
ssgTransform *addZapSplashFx ( sgCoord *pos, float size, float height );<br />
ssgTransform *addLightningFx ( sgVec3 pos );<br />
ssgTransform *addMultiRocketFx ( sgVec3 pos );<br />
ssgTransform *addSmokeFx ( sgVec3 pos, float size ) ;<br />
ssgTransform *addSplashFx ( sgVec3 pos, float size ) ;<br />
<br />
The ''initParticles()'' call must be made on startup - then ''updateParticles'' should be called each frame. Call ''drawParticles'' after rendering the 3D scene:<br />
<br />
void initParticles () ;<br />
void updateParticles () ;<br />
void drawParticles () ;<br />
<br />
{{gameTools}}<br />
{{LoL}}</div>SteveBaker