affectors.qml Example File
particles/affectors/affectors.qml
import QtQuick 2.0
import "../../shared" as Examples
Item {
height: 480
width: 320
Examples.LauncherList {
id: ll
anchors.fill: parent
Component.onCompleted: {
addExample("Age", "Kills off particles that enter the affector", Qt.resolvedUrl("content/age.qml"));
addExample("Attractor", "Simulates a small black hole", Qt.resolvedUrl("content/attractor.qml"));
addExample("Custom Affector", "Custom falling leaves", Qt.resolvedUrl("content/customaffector.qml"));
addExample("Friction", "Leaves that slow down as they fall", Qt.resolvedUrl("content/friction.qml"));
addExample("Gravity", "Leaves that fall towards the earth as you move it", Qt.resolvedUrl("content/gravity.qml"));
addExample("GroupGoal", "Balls that can be set on fire various ways", Qt.resolvedUrl("content/groupgoal.qml"));
addExample("Move", "Some effects you can get by altering trajectory midway", Qt.resolvedUrl("content/move.qml"));
addExample("SpriteGoal", "A ship that makes asteroids explode", Qt.resolvedUrl("content/spritegoal.qml"));
addExample("Turbulence", "A candle with faint wind", Qt.resolvedUrl("content/turbulence.qml"));
addExample("Wander", "Drifting snow flakes", Qt.resolvedUrl("content/wander.qml"));
}
}
}