GameTools gameParticleManager

From Wikiid
Revision as of 20:41, 23 October 2007 by SteveBaker (Talk | contribs) (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...)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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:

 ssgTransform *addCombatFx      ( sgVec3   pos ) ;
 ssgTransform *addDustFx        ( sgVec3   pos ) ;
 ssgTransform *addFlatDustFx    ( sgVec3   pos ) ;
 ssgTransform *addFireFx        ( sgVec3   pos, float size, float height );
 ssgTransform *addZapFx         ( sgCoord *pos, float size, float height );
 ssgTransform *addZapSplashFx   ( sgCoord *pos, float size, float height );
 ssgTransform *addLightningFx   ( sgVec3   pos );
 ssgTransform *addMultiRocketFx ( sgVec3   pos );
 ssgTransform *addSmokeFx       ( sgVec3   pos, float size ) ;
 ssgTransform *addSplashFx      ( sgVec3   pos, float size ) ;

The initParticles() call must be made on startup - then updateParticles should be called each frame. Call drawParticles after rendering the 3D scene:

 void initParticles   () ;
 void updateParticles () ;
 void drawParticles   () ;


Wikiid Pages relating to gameTools (edit)
gameTools - Main page
gameTools - Support Tools :
plb_to_ac3d, mklevel, mktile, mktree, tiled, autogen_java, mk3dgallery
gameTools - File Formats :
title_screen.rgb, ultimate.xml, material.xml, decoration.xml, physics.xml
tiled.xml, tiled_autotiles.xml, Level files, Tile naming scheme, PLB files
gameTools - Source Code :
Game functions: gameCamera, gameClock, gameChecksum/gameHashTable, gameHTTP,
gameIsect, gameJoystick, gameParticleManager, gameScreen/gameMouse,
gameSky, gameStarter, gameStrokeFont, gameUtils
Material database: MatList/MatEntry
Tile map handling: TileObject/MapFlag/MapEntry/Map
Java Interfacing: JavaLink
Image file loading: liImage/liImageFactory
3D Model file loading: loadPLB, PLB exporter
Physics: Sabot, Bullet, gameTools - Use with Blender, PLB exporter
Object management: Object


Wikiid Pages relating to Lemur of Lima (edit)
Lemur of Lima - Main page
Lemur of Lima - Controls
Lemur of Lima - Levels :
List of Levels, Level design, Screen shots, Models
Lemur of Lima - Java Plugins :
Java plugin API, Event handling, Flags, GameInterface API , Alphabetical Index
Lemur of Lima - Source Code Documentation :
Initialisation, Main Loop, gameTools