aboutsummaryrefslogtreecommitdiffstats
path: root/demos/declarative/plasmapatrol/content/Frigate.qml
diff options
context:
space:
mode:
authorAlan Alpert <alan.alpert@nokia.com>2011-06-08 17:55:41 +1000
committerAlan Alpert <alan.alpert@nokia.com>2011-06-08 18:03:39 +1000
commitc8a5c00ec1c06f7c00070d55cd61cb8d52dc67cf (patch)
tree95caddcee9dd998e128e22d64c4ba23dfab747b6 /demos/declarative/plasmapatrol/content/Frigate.qml
parent1f88f2ceedf00f96e2491ecdd1c655b0f12f3632 (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/Frigate.qml')
-rw-r--r--demos/declarative/plasmapatrol/content/Frigate.qml18
1 files changed, 9 insertions, 9 deletions
diff --git a/demos/declarative/plasmapatrol/content/Frigate.qml b/demos/declarative/plasmapatrol/content/Frigate.qml
index f18de0154a..d31405250e 100644
--- a/demos/declarative/plasmapatrol/content/Frigate.qml
+++ b/demos/declarative/plasmapatrol/content/Frigate.qml
@@ -58,9 +58,9 @@ Item {
system: container.system
particle: "frigateShield"
anchors.centerIn: parent
- particleSize: 92
- particlesPerSecond: 1
- particleDuration: 4800
+ size: 92
+ emitRate: 1
+ lifeSpan: 4800
emitting: hp > 0
}
Emitter{
@@ -71,12 +71,12 @@ Item {
height: 16
shape: EllipseShape{}
- particleSize: 16
- particleSizeVariation: 8
- particleEndSize: 8
- particlesPerSecond: hp > 0 ? hp * 1 + 20 : 0
- particleDuration: 1200
- maxParticles: (maxHP * 1 + 20)*2
+ size: 16
+ sizeVariation: 8
+ endSize: 8
+ emitRate: hp > 0 ? hp * 1 + 20 : 0
+ lifeSpan: 1200
+ emitCap: (maxHP * 1 + 20)*2
}
Timer{
id: fireControl