1 /****************************************************************************
3 ** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
4 ** All rights reserved.
5 ** Contact: Nokia Corporation (qt-info@nokia.com)
7 ** This file is part of the QtDeclarative module of the Qt Toolkit.
9 ** $QT_BEGIN_LICENSE:LGPL$
10 ** No Commercial Usage
11 ** This file contains pre-release code and may not be distributed.
12 ** You may use this file in accordance with the terms and conditions
13 ** contained in the Technology Preview License Agreement accompanying
16 ** GNU Lesser General Public License Usage
17 ** Alternatively, this file may be used under the terms of the GNU Lesser
18 ** General Public License version 2.1 as published by the Free Software
19 ** Foundation and appearing in the file LICENSE.LGPL included in the
20 ** packaging of this file. Please review the following information to
21 ** ensure the GNU Lesser General Public License version 2.1 requirements
22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
24 ** In addition, as a special exception, Nokia gives you certain additional
25 ** rights. These rights are described in the Nokia Qt LGPL Exception
26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
28 ** If you have questions regarding the use of this file, please contact
29 ** Nokia at qt-info@nokia.com.
40 ****************************************************************************/
42 import QtQuick.Particles 2.0
45 property ParticleSystem sys
48 particles: ["default"]
49 source: "pics/blur-circle3.png"
56 particles: ["redTeam"]
57 source: "pics/blur-circle3.png"
64 particles: ["greenTeam"]
65 source: "pics/blur-circle3.png"
72 particles: ["blaster"]
73 source: "pics/star2.png"
82 source: "pics/star3.png"
91 source: "pics/particle.png"
98 particles: ["cannonCore"]
99 source: "pics/particle.png"
106 particles: ["cannonWake"]
107 source: "pics/star.png"
114 particles: ["frigateShield"]
115 source: "pics/blur-circle2.png"
124 particles: ["cruiserArmor"]
129 source: "pics/meteor.png"
132 to: {"death":0, "spinning":1}
135 source: "pics/meteor_explo.png"
141 source: "pics/nullRock.png"
149 particle: "cannonWake"
151 emitRatePerParticle: 64
153 speed: AngledDirection{ angleVariation: 360; magnitude: 48}
158 width: 1000//XXX: Terrible hack
163 particle: "cannonCore"
165 emitRatePerParticle: 256
170 width: 1000//XXX: Terrible hack