Global

Members

gEngine :gEngine

Static refrence to gEngine
Type:
Source:

gEngine :gEngine

Static refrence to gEngine
Type:
Source:

gEngine :gEngine

Static refrence to gEngine
Type:
Source:

gEngine :gEngine

Static refrence to gEngine
Type:
Source:

gEngine :gEngine

Static refrence to gEngine
Type:
Source:

gEngine :gEngine

Static refrence to gEngine
Type:
Source:

gEngine :gEngine

Static refrence to gEngine
Type:
Source:

gEngine :gEngine

Static refrence to gEngine
Type:
Source:

gEngine :gEngine

Static refrence to gEngine
Type:
Source:

gEngine :gEngine

Static refrence to gEngine
Type:
Source:

gEngine :gEngine

Static refrence to gEngine
Type:
Source:

gEngine :gEngine

Static refrence to gEngine
Type:
Source:

gEngine :gEngine

Static refrence to gEngine
Type:
Source:

gEngine :gEngine

Static refrence to gEngine
Type:
Source:

Methods

DustParams(xPos, yPos, width, yAcceleration, life, xVelocity, yVelocity, flicker, intensity, xAcceleration, size, yOffset) → {DustParams}

Parameter Struct
Parameters:
Name Type Description
xPos float The x position for the dust
yPos float The y position for the dust
width float The maximum horizontal offset for the dust particles
yAcceleration float The vertical acceleration for the dust paritcles
life float The life for the dust particles
xVelocity float The initial horizontal boost for the dust particles
yVelocity float The initial vertical boost for the dust particles
flicker float How quickly particles shrink
intensity float The # of dust particles created per update cycle
xAcceleration float The horizontal acceleration for the dust particles
size float The size for the dust paritcles
yOffset float The maximum vertical offset for the dust particles
Source:
Returns:
New instance of DustParams struct, with defaults for non-specified values
Type
DustParams

FireParams(xPos, yPos, width, yAcceleration, life, xVelocity, yVelocity, flicker, intensity, xAcceleration, size, yOffset, emberSelection, taperSelection) → {FireParams}

Parameter Struct
Parameters:
Name Type Description
xPos float The x position for the fire
yPos float The y position for the fire
width float The maximum horizontal offset for the fire particles
yAcceleration float The vertical acceleration for the fire paritcles
life float The life for the fire particles
xVelocity float The initial horizontal boost for the fire particles
yVelocity float The initial vertical boost for the fire particles
flicker float How quickly particles shrink
intensity float The # of fire particles created per update cycle
xAcceleration float The horizontal acceleration for the fire particles
size float The size for the fire paritcles
yOffset float The maximum vertical offset for the fire particles
emberSelection float Percentage of particles to apply ember effect to
taperSelection float Percentage of particles to apply taper effect to
Source:
Returns:
New instance of FireParams struct, with defaults for non-specified values
Type
FireParams

SmokeParams(xPos, yPos, width, yAcceleration, life, xVelocity, yVelocity, flicker, intensity, xAcceleration, size, yOffset, rVal, gVal, bVal, aVal, colorShift) → {SmokeParams}

Smoke Parameter Struct
Parameters:
Name Type Description
xPos float The x position for the smoke
yPos float The y position for the smoke
width float The maximum horizontal offset for the smoke particles
yAcceleration float The vertical acceleration for the smoke paritcles
life float The life for the smoke particles
xVelocity float The initial horizontal boost for the smoke particles
yVelocity float The initial vertical boost for the smoke particles
flicker float How quickly particles shrink
intensity float The # of smoke particles created per update cycle
xAcceleration float The horizontal acceleration for the smoke paritcles
size float The size for the smoke paritcles
yOffset float The maximum vertical offset for the smoke paritcles
rVal float red color value for smoke particle system
gVal float green color value for smoke particle system
bVal float blue color value for smoke particle system
aVal float alpha color value for smoke particle system
colorShift float value applied to RGB values for multi-colorizing effect
Source:
Returns:
new instance of struct, with defaults for non-specified values
Type
SmokeParams

SnowParams(xPos, yPos, width, yAcceleration, life, xVelocity, yVelocity, flicker, intensity, xAcceleration, size, yOffset) → {SnowParams}

Parameter Struct
Parameters:
Name Type Description
xPos float The x position for the snow
yPos float The y position for the snow
width float The maximum horizontal offset for the snow particles
yAcceleration float The vertical acceleration for the snow paritcles
life float The life for the snow particles
xVelocity float The initial horizontal boost for the snow particles
yVelocity float The initial vertical boost for the snow particles
flicker float How quickly particles shrink
intensity float The # of snow particles created per update cycle
xAcceleration float The horizontal acceleration for the snow particles
size float The size for the snow paritcles
yOffset float The maximum vertical offset for the snow particles
Source:
Returns:
New instance of snow parameters struct, with defaults for non-specified values
Type
SnowParams

SubEmitterParams(MainParticleTexture, SubParticleTexture, xPos, yPos, width, yAcceleration, life, xVelocity, yVelocity, flicker, intensity, xAcceleration, size, yOffset, startColor, finalColor, subStartColor, subFinalColor, physInherit, subParticleLife, subParticleSizeDelta) → {SubEmitterParams}

Parameter Struct
Parameters:
Name Type Description
MainParticleTexture png texture for main emitter particles
SubParticleTexture png texture for sub emitter particles
xPos float The x position for the main emitter
yPos float The y position for the main emitter
width float The maximum horizontal offset for the main emitter particles
yAcceleration float The vertical acceleration for the main emitter paritcles
life float The life for the main emitter particles
xVelocity float The initial horizontal boost for the main emitter particles
yVelocity float The initial vertical boost for the main emitter particles
flicker float How quickly particles shrink
intensity float The # of main emitter particles created per update cycle
xAcceleration float The horizontal acceleration for the main emitter paritcles
size float The size for the main emitter paritcles
yOffset float The maximum vertical offset for the main emitter paritcles
startColor color Starting color of main emitter particles
finalColor color Final color of main emitter particles
subStartColor color Starting color of sub emitter particles
subFinalColor color Final color of sub emitter particles
physInherit bool Bool indicating whether or not subparticles inherit velocity/acceleration
subParticleLife float Life value in frames for subparticles
subParticleSizeDelta float sizeDelta value to be applied to subparticles
Source:
Returns:
New instance of SubEmitter struct object
Type
SubEmitterParams