diff options
author | Alan Alpert <alan.alpert@nokia.com> | 2011-06-08 17:55:41 +1000 |
---|---|---|
committer | Alan Alpert <alan.alpert@nokia.com> | 2011-06-08 18:03:39 +1000 |
commit | c8a5c00ec1c06f7c00070d55cd61cb8d52dc67cf (patch) | |
tree | 95caddcee9dd998e128e22d64c4ba23dfab747b6 /demos/declarative/plasmapatrol/content/LaserHardpoint.qml | |
parent | 1f88f2ceedf00f96e2491ecdd1c655b0f12f3632 (diff) |
Immense Particles Refactor Part D
Changed the names of several properties:
FollowEmitter:
emissionShape->emitShape
emissionHeight->emitHeight
emissionWidth->emitWidth
Emitter:
particlesPerSecond->emitRate
particleDuration->lifeSpan
particleDurationVariation->lifeSpanVariation
maxParticles->emitCap
particleSize->size
particleEndSize->endSize
particleSizeVariation->sizeVariation
ImageParticle:
image->source
And stopped being silly in the example launcher.
Diffstat (limited to 'demos/declarative/plasmapatrol/content/LaserHardpoint.qml')
-rw-r--r-- | demos/declarative/plasmapatrol/content/LaserHardpoint.qml | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/demos/declarative/plasmapatrol/content/LaserHardpoint.qml b/demos/declarative/plasmapatrol/content/LaserHardpoint.qml index 3705d29287..e99424856c 100644 --- a/demos/declarative/plasmapatrol/content/LaserHardpoint.qml +++ b/demos/declarative/plasmapatrol/content/LaserHardpoint.qml @@ -57,12 +57,12 @@ Item { emitting: container.show shape: EllipseShape{} speed: TargetedDirection{ targetX: width/2; targetY: width/2; magnitude: -1; proportionalMagnitude: true } - particleDuration: 1000 - particlesPerSecond: 64 + lifeSpan: 1000 + emitRate: 64 - particleSize: 24 - particleSizeVariation: 8 - particleEndSize: 8 + size: 24 + sizeVariation: 8 + endSize: 8 } function fireAt(targetArg, hardpoint){ @@ -97,11 +97,11 @@ Item { mirrored: (emitter.y < 0 || emitter.x < 0) && !(emitter.y < 0 && emitter.x < 0 )//I just want XOR } - particleDuration: 1000 - particlesPerSecond: 8000 - maxParticles: 800 - particleSize: 16 - particleEndSize: 0 + lifeSpan: 1000 + emitRate: 8000 + emitCap: 800 + size: 16 + endSize: 0 speed: PointDirection{xVariation: 4; yVariation: 4} } |