diff options
Diffstat (limited to 'examples/declarative/particles/modelparticles')
4 files changed, 19 insertions, 19 deletions
diff --git a/examples/declarative/particles/modelparticles/bubbles.qml b/examples/declarative/particles/modelparticles/bubbles.qml index d0eb3ea044..23f0b82d01 100644 --- a/examples/declarative/particles/modelparticles/bubbles.qml +++ b/examples/declarative/particles/modelparticles/bubbles.qml @@ -63,8 +63,8 @@ Item{ x: parent.width/4 y:parent.height speed: PointDirection{ y: -64; yVariation: 16 } - particlesPerSecond: 1 - particleDuration: 8000 + emitRate: 1 + lifeSpan: 8000 } Wander{ system: sys diff --git a/examples/declarative/particles/modelparticles/gridsplosion.qml b/examples/declarative/particles/modelparticles/gridsplosion.qml index fe2dd261a5..db860125e5 100644 --- a/examples/declarative/particles/modelparticles/gridsplosion.qml +++ b/examples/declarative/particles/modelparticles/gridsplosion.qml @@ -52,9 +52,9 @@ Item{ system: sys id: burster; emitting: false - particlesPerSecond: 1000 - particleDuration: 50000 - maxParticles: 100; + emitRate: 1000 + lifeSpan: 50000 + emitCap: 100; speed: PointDirection{xVariation: 400; yVariation: 400} anchors.centerIn: parent Timer{ @@ -72,7 +72,7 @@ Item{ } ImageParticle{ system: sys - image: "../trails/content/particle.png" + source: "../trails/content/particle.png" color: "black" colorVariation: 0.0 } diff --git a/examples/declarative/particles/modelparticles/package.qml b/examples/declarative/particles/modelparticles/package.qml index 64873802a5..0aa8903270 100644 --- a/examples/declarative/particles/modelparticles/package.qml +++ b/examples/declarative/particles/modelparticles/package.qml @@ -85,7 +85,7 @@ Rectangle { width: 100 x: 50 speed: PointDirection{ y: 40 } - particleDuration: 5000 - particlesPerSecond: 1.6 + lifeSpan: 5000 + emitRate: 1.6 } } diff --git a/examples/declarative/particles/modelparticles/stream.qml b/examples/declarative/particles/modelparticles/stream.qml index 73107ad4f7..5c7a6f7fc4 100644 --- a/examples/declarative/particles/modelparticles/stream.qml +++ b/examples/declarative/particles/modelparticles/stream.qml @@ -75,8 +75,8 @@ Item{ x: -132/2 y: 132/2 speed: PointDirection{ x: 32; xVariation: 8 } - particlesPerSecond: 0.5 - particleDuration: 120000 //TODO: A -1 or something which does 'infinite'? (but need disable fade first) + emitRate: 0.5 + lifeSpan: 120000 //TODO: A -1 or something which does 'infinite'? (but need disable fade first) particle: "photos" } Kill{ @@ -88,7 +88,7 @@ Item{ ImageParticle{ system: sys particles: ["fireworks"] - image: "../trails/content/star.png" + source: "../trails/content/star.png" color: "lightsteelblue" alpha: 0 colorVariation: 0 @@ -163,9 +163,9 @@ Item{ Emitter{ id: centerEmitter speed: PointDirection{ x: 32; xVariation: 8;} - particlesPerSecond: 0.5 - particleDuration: 12000 //TODO: A -1 or something which does 'infinite'? (but need disable fade first) - maxParticles: 20 + emitRate: 0.5 + lifeSpan: 12000 //TODO: A -1 or something which does 'infinite'? (but need disable fade first) + emitCap: 20 particle: "photos" system: sys anchors.centerIn: parent @@ -177,16 +177,16 @@ Item{ id: spawnFireworks particle: "fireworks" system: sys - maxParticles: 400 - particlesPerSecond: 400 - particleDuration: 2800 + emitCap: 400 + emitRate: 400 + lifeSpan: 2800 x: parent.width/2 y: parent.height/2 - 64 width: 8 height: 8 emitting: false - particleSize: 32 - particleEndSize: 8 + size: 32 + endSize: 8 speed: AngledDirection{ magnitude: 160; magnitudeVariation: 120; angleVariation: 90; angle: 270 } acceleration: PointDirection{ y: 160 } } |