summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Sehmisch <tmw@crushnet.org>2008-10-26 02:34:40 +0000
committerPhilipp Sehmisch <tmw@crushnet.org>2008-10-26 02:34:40 +0000
commita01ed274be14959e4013c51eebe2c153123612cb (patch)
treedb9de5454168ac77fa946c9012d1c964b5ea54a5
parent82401e20ac16a86055a6b033f85b76a8453607c8 (diff)
downloadclientdata-a01ed274be14959e4013c51eebe2c153123612cb.tar.gz
clientdata-a01ed274be14959e4013c51eebe2c153123612cb.tar.bz2
clientdata-a01ed274be14959e4013c51eebe2c153123612cb.tar.xz
clientdata-a01ed274be14959e4013c51eebe2c153123612cb.zip
Added a geyser particle effect to map 9 as an example of emitters which change over time.
-rw-r--r--graphics/particles/geyser.particle.xml29
-rw-r--r--maps/new_9-1.tmx1
2 files changed, 30 insertions, 0 deletions
diff --git a/graphics/particles/geyser.particle.xml b/graphics/particles/geyser.particle.xml
new file mode 100644
index 00000000..daffba65
--- /dev/null
+++ b/graphics/particles/geyser.particle.xml
@@ -0,0 +1,29 @@
+<?xml version="1.0"?>
+<!--
+A geysir which appears at regular intervals and becomes stronger and weaker.
+An example of changing emitters.
+-->
+<effect>
+ <particle
+ position-x = "0"
+ position-y = "0"
+ position-z = "0"
+ >
+ <emitter>
+ <property name="output" value="2"
+ change-func="sine"
+ change-amplitude="3"
+ change-period="800"
+ />
+ <property name="power" min="1.5" max="2.5"
+ change-func="sine"
+ change-amplitude="3"
+ change-period="800"
+ />
+ <property name="horizontal-angle" min="0" max="360"/>
+ <property name="vertical-angle" min="85" max="90" />
+ <property name="image" value="graphics/particles/orb-medium.png"/>
+ <property name="gravity" value="0.1" />
+ </emitter>
+ </particle>
+</effect> \ No newline at end of file
diff --git a/maps/new_9-1.tmx b/maps/new_9-1.tmx
index dcd331ca..3293a2f1 100644
--- a/maps/new_9-1.tmx
+++ b/maps/new_9-1.tmx
@@ -58,6 +58,7 @@
</layer>
<objectgroup name="Object Group 1" width="0" height="0">
<object name="graphics/particles/waterfall.particle.xml" type="PARTICLE_EFFECT" x="2112" y="930" width="32" height="32"/>
+ <object name="graphics/particles/geyser.particle.xml" type="PARTICLE_EFFECT" x="2170" y="1370" width="32" height="32" />
<object name="ToCave" type="WARP" x="1856" y="2944" width="32" height="32">
<properties>
<property name="DEST_MAP" value="4"/>