| changeset 30 | 5dc02b23752f |
| 29:b72c6db6890b | 30:5dc02b23752f |
|---|---|
1 import Qt 4.7 |
|
2 import Qt.labs.particles 1.0 |
|
3 |
|
4 Rectangle{ |
|
5 width: 100 |
|
6 height: 100 |
|
7 color: "black" |
|
8 objectName: "rect" |
|
9 Particles { id: particles |
|
10 objectName: "particles" |
|
11 width:1; height:1; anchors.centerIn: parent; opacity: 1 |
|
12 lifeSpan: 100; lifeSpanDeviation: 20; count:1000; |
|
13 fadeInDuration: 20; fadeOutDuration: 20; emissionRate: 1000 |
|
14 angle: 0; angleDeviation: 360; velocity: 500; velocityDeviation:30 |
|
15 source: "particle.png" |
|
16 } |
|
17 } |