summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"/>