import QtQuick 2.0
import QtQuick.Particles 2.0
Rectangle
{
id: root
width: 480; height: 360
color: "#1f1f1f"
ParticleSystem
{
id: ps
}
Emitter
{
id: emitter
anchors.left: parent.left
anchors.verticalCenter: parent.verticalCenter
width: 1; height: 1
system: ps
emitRate: 10
lifeSpan: 6400
lifeSpanVariation: 600
size: 32
velocity: PointDirection
{
x: 100
y: 0
xVariation: 0
yVariation: 100/6
}
acceleration: AngleDirection
{
angle: 90
magnitude: 30
}
}
ImageParticle
{
source: "assets/ufo.png"
system: ps
}
}