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 /examples/declarative/particles/allsmiles/smilefactory.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 'examples/declarative/particles/allsmiles/smilefactory.qml')
-rw-r--r-- | examples/declarative/particles/allsmiles/smilefactory.qml | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/examples/declarative/particles/allsmiles/smilefactory.qml b/examples/declarative/particles/allsmiles/smilefactory.qml index 262644ec56..5b36eee3cd 100644 --- a/examples/declarative/particles/allsmiles/smilefactory.qml +++ b/examples/declarative/particles/allsmiles/smilefactory.qml @@ -49,7 +49,7 @@ Rectangle{ ImageParticle{ system: sys particles: ["goingLeft", "goingRight"] - image: "content/singlesmile.png" + source: "content/singlesmile.png" rotation: 90 rotationSpeed: 90 autoRotation: true @@ -57,7 +57,7 @@ Rectangle{ ImageParticle{ system: sys particles: ["goingDown"] - image: "content/squarefacespriteXX.png" + source: "content/squarefacespriteXX.png" rotation: 180 yVector: PointDirection{ y: 0.5; yVariation: 0.25; xVariation: 0.25; } } @@ -87,9 +87,9 @@ Rectangle{ emitting: false particle: "goingRight" speed: PointDirection{ x: 100 } - particleDuration: 4000 - particlesPerSecond: 2 - particleSize: 32 + lifeSpan: 4000 + emitRate: 2 + size: 32 } Emitter{ id: emitB @@ -99,9 +99,9 @@ Rectangle{ emitting: false particle: "goingLeft" speed: PointDirection{ x: -100 } - particleDuration: 4000 - particlesPerSecond: 2 - particleSize: 32 + lifeSpan: 4000 + emitRate: 2 + size: 32 } Emitter{ id: emitC @@ -111,8 +111,8 @@ Rectangle{ emitting: false particle: "goingDown" speed: PointDirection{ x: 100 } - particleDuration: 4000 - particlesPerSecond: 2 - particleSize: 32 + lifeSpan: 4000 + emitRate: 2 + size: 32 } } |