aboutsummaryrefslogtreecommitdiffstats
path: root/examples/particles/affectors/content/attractor.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/particles/affectors/content/attractor.qml')
-rw-r--r--examples/particles/affectors/content/attractor.qml8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/particles/affectors/content/attractor.qml b/examples/particles/affectors/content/attractor.qml
index 16a553faeb..71e66a046e 100644
--- a/examples/particles/affectors/content/attractor.qml
+++ b/examples/particles/affectors/content/attractor.qml
@@ -58,7 +58,7 @@ Rectangle {
enabled: true
size: 30
sizeVariation: 10
- speed: PointDirection { x: 220; xVariation: 40 }
+ velocity: PointDirection { x: 220; xVariation: 40 }
height: parent.height
}
Emitter {
@@ -69,7 +69,7 @@ Rectangle {
enabled: true
size: 30
sizeVariation: 10
- speed: PointDirection { x: 220; xVariation: 40 }
+ velocity: PointDirection { x: 220; xVariation: 40 }
height: parent.height
}
ParticleSystem {
@@ -178,7 +178,7 @@ Rectangle {
size: 10
endSize: 4
sizeVariation: 4
- speed: PointDirection { x: -128; xVariation: 32 }
+ velocity: PointDirection { x: -128; xVariation: 32 }
height: ship.height
y: ship.y
x: ship.x
@@ -191,7 +191,7 @@ Rectangle {
lifeSpan: 1000
enabled: true
size: 40
- speed: PointDirection { x: 256; }
+ velocity: PointDirection { x: 256; }
x: ship.x + ship.width
y: ship.y + ship.height/2
}