aboutsummaryrefslogtreecommitdiffstats
path: root/demos/declarative/plasmapatrol/content/BlasterHardpoint.qml
diff options
context:
space:
mode:
Diffstat (limited to 'demos/declarative/plasmapatrol/content/BlasterHardpoint.qml')
-rw-r--r--demos/declarative/plasmapatrol/content/BlasterHardpoint.qml22
1 files changed, 11 insertions, 11 deletions
diff --git a/demos/declarative/plasmapatrol/content/BlasterHardpoint.qml b/demos/declarative/plasmapatrol/content/BlasterHardpoint.qml
index fb30cd008b..1242a85149 100644
--- a/demos/declarative/plasmapatrol/content/BlasterHardpoint.qml
+++ b/demos/declarative/plasmapatrol/content/BlasterHardpoint.qml
@@ -61,12 +61,12 @@ Item {
anchors.fill: parent
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: 24
- particleEndSize: 0
+ size: 24
+ sizeVariation: 24
+ endSize: 0
}
property int blastsLeft: 0
@@ -119,12 +119,12 @@ Item {
system: container.system
anchors.centerIn: parent
- particleDuration: 1000
- particlesPerSecond: 16
- maxParticles: blasts
- particleSize: 24
- particleEndSize:16
- particleSizeVariation: 8
+ lifeSpan: 1000
+ emitRate: 16
+ emitCap: blasts
+ size: 24
+ endSize:16
+ sizeVariation: 8
speed: TargetedDirection{
id: blastVector
targetX: target.x; targetY: target.y; magnitude: 1.1; proportionalMagnitude: true