diff options
author | Philipp Sehmisch <tmw@crushnet.org> | 2007-06-27 23:26:01 +0000 |
---|---|---|
committer | Philipp Sehmisch <tmw@crushnet.org> | 2007-06-27 23:26:01 +0000 |
commit | 84b9d66a5782f7f74ad93daddc90bbea363f0e66 (patch) | |
tree | e78e35525e9b2ca77751bb3a073d62cbbc022314 | |
parent | 62958d1d14a879d933ef3565018c7f141e2f8d38 (diff) | |
download | clientdata-84b9d66a5782f7f74ad93daddc90bbea363f0e66.tar.gz clientdata-84b9d66a5782f7f74ad93daddc90bbea363f0e66.tar.bz2 clientdata-84b9d66a5782f7f74ad93daddc90bbea363f0e66.tar.xz clientdata-84b9d66a5782f7f74ad93daddc90bbea363f0e66.zip |
Corrected some perspective issues of the particle engine and fixed a crash caused by particles with child emitters that have an image than isn't used elsewhere. Added a particle effect at the spawn point in Tulimshar (we should have at least one particle effect that demonstrates acceleration and particles with emitters)
-rw-r--r-- | graphics/particles/colorful-orbits.particle.xml | 114 | ||||
-rw-r--r-- | maps/new_3-1.tmx.gz | bin | 8182 -> 8175 bytes |
2 files changed, 114 insertions, 0 deletions
diff --git a/graphics/particles/colorful-orbits.particle.xml b/graphics/particles/colorful-orbits.particle.xml new file mode 100644 index 00000000..dea0de7a --- /dev/null +++ b/graphics/particles/colorful-orbits.particle.xml @@ -0,0 +1,114 @@ +<?xml version="1.0"?>
+
+<!--
+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>
\ No newline at end of file diff --git a/maps/new_3-1.tmx.gz b/maps/new_3-1.tmx.gz Binary files differindex 7a114552..ae2bd45b 100644 --- a/maps/new_3-1.tmx.gz +++ b/maps/new_3-1.tmx.gz |