summaryrefslogtreecommitdiff
path: root/graphics/particles/colorful-orbits.particle.xml
blob: 25786f8fb59936cb8b4d8c6645a27d47acdad407 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
<?xml version="1.0"?>

<!--
6 differently colored objects which orbit around a centerpoint in different
circular orbits forming a sphere. Beautiful but I can't imagine any application
for this effect as it is. It is basically a proof of concept.

Want it bigger or smaller? When you half the orbit (distance) just double the
acceleration and vice versa.
-->
<effect>
	<particle
		position-x = "0"
		position-y = "0"
		position-z = "40"
		lifetime = "1"
		>
		<emitter>
			<property name="position-x" value = "40"/>
			<property name="position-y" value = "0"/>
			<property name="position-z" value = "0"/>
			<property name="image" value="graphics/particles/orb-medium-blue.png" />
			<property name="horizontal-angle" value= "90"/>
			<property name="vertical-angle" value = "0" />
			<property name="power" value = "3" />
			<property name="acceleration" value = "0.2" />
			<emitter>
                <property name="image" value="graphics/particles/star-small-blue.png"/>
                <property name="lifetime" value="40" />
                <property name="fade-out" value="40" />
			</emitter>
		</emitter>

		<emitter>
			<property name="position-x" value = "-40"/>
			<property name="position-y" value = "0"/>
			<property name="position-z" value = "0"/>
			<property name="image" value="graphics/particles/orb-medium-yellow.png" />
			<property name="horizontal-angle" value= "270"/>
			<property name="vertical-angle" value = "0" />
			<property name="power" value = "3" />
			<property name="acceleration" value = "0.2" />
			<emitter>
                <property name="image" value="graphics/particles/star-small-yellow.png"/>
                <property name="lifetime" value="40" />
                <property name="fade-out" value="40" />
			</emitter>
		</emitter>



		<emitter>
			<property name="position-x" value = "28.28"/>
			<property name="position-y" value = "-28.28"/>
			<property name="position-z" value = "0"/>
			<property name="image" value="graphics/particles/orb-medium-green.png" />
			<property name="horizontal-angle" value= "0"/>
			<property name="vertical-angle" value = "90" />
			<property name="power" value="3" />
			<property name="acceleration" value = "0.2" />
			<emitter>
                <property name="image" value="graphics/particles/star-small-green.png"/>
                <property name="lifetime" value="40" />
                <property name="fade-out" value="40" />
			</emitter>
		</emitter>

		<emitter>
			<property name="position-x" value = "-28.28"/>
			<property name="position-y" value = "28.28"/>
			<property name="position-z" value = "0"/>
			<property name="image" value="graphics/particles/orb-medium-magenta.png" />
			<property name="horizontal-angle" value= "0"/>
			<property name="vertical-angle" value = "270" />
			<property name="power" value="3" />
			<property name="acceleration" value = "0.2" />
			<emitter>
                <property name="image" value="graphics/particles/star-small-magenta.png"/>
                <property name="lifetime" value="40" />
                <property name="fade-out" value="40" />
			</emitter>
		</emitter>



		<emitter>
			<property name="position-x" value = "0"/>
			<property name="position-y" value = "0"/>
			<property name="position-z" value = "40"/>
			<property name="image" value="graphics/particles/orb-medium-red.png" />
			<property name="horizontal-angle" value= "45"/>
			<property name="vertical-angle" value = "0" />
			<property name="power" value = "3" />
			<property name="acceleration" value = "0.2" />
			<emitter>
                <property name="image" value="graphics/particles/star-small-red.png"/>
                <property name="lifetime" value="40" />
                <property name="fade-out" value="40" />
			</emitter>
		</emitter>

		<emitter>
			<property name="position-x" value = "0"/>
			<property name="position-y" value = "0"/>
			<property name="position-z" value = "-40"/>
			<property name="image" value="graphics/particles/orb-medium-cyan.png" />
			<property name="horizontal-angle" value= "225"/>
			<property name="vertical-angle" value = "0" />
			<property name="power" value = "3" />
			<property name="acceleration" value = "0.2" />
			<emitter>
                <property name="image" value="graphics/particles/star-small-cyan.png"/>
                <property name="lifetime" value="40" />
                <property name="fade-out" value="40" />
			</emitter>
		</emitter>
		
	</particle>
</effect>