Easing
¶BackIn = siege.particle.Easing.BackIn
BackInOut = siege.particle.Easing.BackInOut
BackOut = siege.particle.Easing.BackOut
BounceIn = siege.particle.Easing.BounceIn
BounceInOut = siege.particle.Easing.BounceInOut
BounceOut = siege.particle.Easing.BounceOut
CircularIn = siege.particle.Easing.CircularIn
CircularInOut = siege.particle.Easing.CircularInOut
CircularOut = siege.particle.Easing.CircularOut
CubicIn = siege.particle.Easing.CubicIn
CubicInOut = siege.particle.Easing.CubicInOut
CubicOut = siege.particle.Easing.CubicOut
ElasticIn = siege.particle.Easing.ElasticIn
ElasticInOut = siege.particle.Easing.ElasticInOut
ElasticOut = siege.particle.Easing.ElasticOut
ExponentialIn = siege.particle.Easing.ExponentialIn
ExponentialInOut = siege.particle.Easing.ExponentialInOut
ExponentialOut = siege.particle.Easing.ExponentialOut
LinearIn = siege.particle.Easing.LinearIn
LinearInOut = siege.particle.Easing.LinearInOut
LinearOut = siege.particle.Easing.LinearOut
None = siege.particle.Easing.None
QuadraticIn = siege.particle.Easing.QuadraticIn
QuadraticInOut = siege.particle.Easing.QuadraticInOut
QuadraticOut = siege.particle.Easing.QuadraticOut
QuarticIn = siege.particle.Easing.QuarticIn
QuarticInOut = siege.particle.Easing.QuarticInOut
QuarticOut = siege.particle.Easing.QuarticOut
QuinticIn = siege.particle.Easing.QuinticIn
QuinticInOut = siege.particle.Easing.QuinticInOut
QuinticOut = siege.particle.Easing.QuinticOut
SineIn = siege.particle.Easing.SineIn
SineInOut = siege.particle.Easing.SineInOut
SineOut = siege.particle.Easing.SineOut
TweenType
¶List = siege.particle.TweenType.List
Ranged = siege.particle.TweenType.Ranged
Static = siege.particle.TweenType.Static
Particle
¶alpha
¶color
¶coords
¶lifetime
¶rotation
¶scale
¶x
¶y
¶Tween
¶chain
(start, end[, easing=siege.particle.Easing.LinearIn[, duration=0[, delay=0]]])Parameters: | |
---|---|
Return type: |
chainList
(start, end[, easing=siege.particle.Easing.LinearIn[, duration=0[, delay=0]]])Parameters: | |
---|---|
Return type: |
chainRange
(valueRange)¶Parameters: | valueRange (RangeFloat ) – |
---|---|
Return type: | Tween |
chainRange
(start, end[, easing=siege.particle.Easing.LinearIn[, duration=0[, delay=0]]])Parameters: |
|
---|---|
Return type: |
delay
(duration)¶Delays the start of this tween by provided milliseconds.
Parameters: | duration (RangeUint ) – |
---|---|
Return type: | Tween |
loop
([times=-1[, duration=0]])¶Loops the tween for the specified number of times or duration.
Parameters: |
|
---|---|
Return type: |
set
(start, end[, easing=siege.particle.Easing.LinearIn[, duration=0]])Parameters: | |
---|---|
Return type: |
setList
(start, end[, easing=siege.particle.Easing.LinearIn[, duration=0]])Parameters: | |
---|---|
Return type: |
setRange
(valueRange)¶Parameters: | valueRange (RangeFloat ) – |
---|---|
Return type: | Tween |
setRange
(start, end[, easing=siege.particle.Easing.LinearIn[, duration=0]])Parameters: |
|
---|---|
Return type: |
TweenColor
¶chain
(value)¶Parameters: | value (Color ) – |
---|---|
Return type: | TweenColor |
chain
(start, end[, easing=siege.particle.Easing.LinearIn[, duration=0[, delay=0]]])Parameters: | |
---|---|
Return type: |
chainList
(values)¶Parameters: | values (list) – |
---|---|
Return type: | TweenColor |
chainList
(start, end[, easing=siege.particle.Easing.LinearIn[, duration=0[, delay=0]]])Parameters: | |
---|---|
Return type: |
chainRange
(valueRange)¶Parameters: | valueRange (RangeColor ) – |
---|---|
Return type: | TweenColor |
chainRange
(start, end[, easing=siege.particle.Easing.LinearIn[, duration=0[, delay=0]]])Parameters: |
|
---|---|
Return type: |
delay
(duration)¶Delays the start of this tween by provided milliseconds.
Parameters: | duration (RangeUint ) – |
---|---|
Return type: | TweenColor |
loop
([times=-1[, duration=0]])¶Loops the tween for the specified number of times or duration.
Parameters: |
|
---|---|
Return type: |
set
(value)¶Parameters: | value (Color ) – |
---|---|
Return type: | TweenColor |
set
(start, end[, easing=siege.particle.Easing.LinearIn[, duration=0]])Parameters: | |
---|---|
Return type: |
setList
(values)¶Parameters: | values (list) – |
---|---|
Return type: | TweenColor |
setList
(start, end[, easing=siege.particle.Easing.LinearIn[, duration=0]])Parameters: | |
---|---|
Return type: |
setRange
(valueRange)¶Parameters: | valueRange (RangeColor ) – |
---|---|
Return type: | TweenColor |
setRange
(start, end[, easing=siege.particle.Easing.LinearIn[, duration=0]])Parameters: |
|
---|---|
Return type: |
TweenUint8
¶chain
(value)¶Parameters: | value (int) – |
---|---|
Return type: | TweenUint8 |
chain
(start, end[, easing=siege.particle.Easing.LinearIn[, duration=0[, delay=0]]])Parameters: | |
---|---|
Return type: |
chainList
(values)¶Parameters: | values (list) – |
---|---|
Return type: | TweenUint8 |
chainList
(start, end[, easing=siege.particle.Easing.LinearIn[, duration=0[, delay=0]]])Parameters: | |
---|---|
Return type: |
chainRange
(valueRange)¶Parameters: | valueRange (RangeUint8 ) – |
---|---|
Return type: | TweenUint8 |
chainRange
(start, end[, easing=siege.particle.Easing.LinearIn[, duration=0[, delay=0]]])Parameters: |
|
---|---|
Return type: |
delay
(duration)¶Delays the start of this tween by provided milliseconds.
Parameters: | duration (RangeUint ) – |
---|---|
Return type: | TweenUint8 |
loop
([times=-1[, duration=0]])¶Loops the tween for the specified number of times or duration.
Parameters: |
|
---|---|
Return type: |
set
(value)¶Parameters: | value (int) – |
---|---|
Return type: | TweenUint8 |
set
(start, end[, easing=siege.particle.Easing.LinearIn[, duration=0]])Parameters: | |
---|---|
Return type: |
setList
(values)¶Parameters: | values (list) – |
---|---|
Return type: | TweenUint8 |
setList
(start, end[, easing=siege.particle.Easing.LinearIn[, duration=0]])Parameters: | |
---|---|
Return type: |
setRange
(valueRange)¶Parameters: | valueRange (RangeUint8 ) – |
---|---|
Return type: | TweenUint8 |
setRange
(start, end[, easing=siege.particle.Easing.LinearIn[, duration=0]])Parameters: |
|
---|---|
Return type: |
TweenVector
¶chain
(value)¶Parameters: | value (Vector ) – |
---|---|
Return type: | TweenVector |
chain
(start, end[, easing=siege.particle.Easing.LinearIn[, duration=0[, delay=0]]])Parameters: | |
---|---|
Return type: |
chainList
(values)¶Parameters: | values (list) – |
---|---|
Return type: | TweenVector |
chainList
(start, end[, easing=siege.particle.Easing.LinearIn[, duration=0[, delay=0]]])Parameters: | |
---|---|
Return type: |
chainRange
(valueRange)¶Parameters: | valueRange (RangeVector ) – |
---|---|
Return type: | TweenVector |
chainRange
(start, end[, easing=siege.particle.Easing.LinearIn[, duration=0[, delay=0]]])Parameters: |
|
---|---|
Return type: |
delay
(duration)¶Delays the start of this tween by provided milliseconds.
Parameters: | duration (RangeUint ) – |
---|---|
Return type: | TweenVector |
loop
([times=-1[, duration=0]])¶Loops the tween for the specified number of times or duration.
Parameters: |
|
---|---|
Return type: |
set
(value)¶Parameters: | value (Vector ) – |
---|---|
Return type: | TweenVector |
set
(start, end[, easing=siege.particle.Easing.LinearIn[, duration=0]])Parameters: | |
---|---|
Return type: |
setList
(values)¶Parameters: | values (list) – |
---|---|
Return type: | TweenVector |
setList
(start, end[, easing=siege.particle.Easing.LinearIn[, duration=0]])Parameters: | |
---|---|
Return type: |
setRange
(valueRange)¶Parameters: | valueRange (RangeVector ) – |
---|---|
Return type: | TweenVector |
setRange
(start, end[, easing=siege.particle.Easing.LinearIn[, duration=0]])Parameters: |
|
---|---|
Return type: |
ParticleEmitter
¶__init__
(realmUid, loopWidth, position[, lifetime=1[, rate=0[, amount=1[, texturePath='']]]])¶Parameters: |
|
---|
addLightSource
([intensity=128[, decay=0[, brightness=1[, color=<siege.graphic.Color[, size=1]]]]])¶Parameters: |
|
---|
animate
(frames[, loop=1])¶Animates the particles with the given frames and frame times.
Parameters: |
|
---|
attachTo
(Entity)¶Attaches this ParticleEmitter
to an Entity
. Position is now relative to that Entity
Parameters: | Entity (Entity ) – |
---|
getCount
()¶Return the number of Particles this ParticleEmitter
tracks
Return type: | int |
---|
getPosition
()¶If attached to an Entity
, return position relative to that Entity
. Otherwise return Position
Return type: | Vector |
---|
render
(window)¶Draw all Particles in this ParticleEmitter
Parameters: | window (sfRenderTarget ) – The window to draw on |
---|
setLightSource
(arg2)¶Parameters: | arg2 (LightSourceData ) – |
---|
setParticlePositions
(arg2)¶Parameters: | arg2 (list) – |
---|
setPosition
(position)¶Changes X,Y coordinates to position
Parameters: | position (Vector ) – X,Y coordinates to change to |
---|
setTexture
(texture[, coords=[]])¶Change ParticleEmitter’s Texture
and corresponding coordinates
Parameters: |
---|
update
(frameTime)¶Updates all Particles in this ParticleEmitter
Parameters: | frameTime (int) – elapsed time this frame |
---|
updateLife
(frameTime)¶Updates only the lifetime and the lifetime of all Particles in this ParticleEmitter:param frameTime: elapsed time this frame
Parameters: | frameTime (int) – |
---|---|
Return type: | bool |
alpha
¶TweenUint8
) Tween
used to determine the color of particles.amount
¶color
¶TweenColor
) Tween
used to determine the color of particles.lifetime
¶Timer
to track total life of this ParticleEmitter
particleLife
¶rate
¶realmUid
¶rotation
¶scale
¶TweenVector
) Tween
used to determine the scale of particles.texture
¶x
¶y
¶PhysicsParticleEmitter
¶__init__
(realmUid, loopWidth, position[, lifetime=1[, rate=0[, amount=1[, texturePath='']]]])¶Parameters: |
|
---|
destroyOnCollision
¶Renderable)
Renderable)