Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- From c7f3c1e46039ec9b588eee76c7f0935e0191d0f8 Mon Sep 17 00:00:00 2001
- From: Dark Nick <developer@Pirat.(none)>
- Date: Thu, 7 Jul 2011 18:13:01 +0400
- Subject: [PATCH] Added flies particle effect
- ---
- graphics/particles/fly.particle.xml | 26 ++++++++++++++++++++++++++
- graphics/particles/fly.png | Bin 0 -> 259 bytes
- maps/008-1.tmx | 1 +
- 3 files changed, 27 insertions(+), 0 deletions(-)
- create mode 100644 graphics/particles/fly.particle.xml
- create mode 100644 graphics/particles/fly.png
- diff --git a/graphics/particles/fly.particle.xml b/graphics/particles/fly.particle.xml
- new file mode 100644
- index 0000000..a926ce4
- --- /dev/null
- +++ b/graphics/particles/fly.particle.xml
- @@ -0,0 +1,26 @@
- +<effect>
- + <particle
- + position-x = "15"
- + position-y = "-20"
- + position-z = "12"
- + >
- + <emitter>
- + <property name="position-y" min="-16" max="16"/>
- + <property name="position-y" min="-16" max="16"/>
- + <property name="position-z" min="-16" max="16"/>
- + <property name="horizontal-angle" min="0" max="360"/>
- + <property name="vertical-angle" min="0" max="360"/>
- + <property name="power" min="0.04" max="2"/>
- + <property name="lifetime" value="150"/>
- + <property name="fade-out" value="0" />
- + <property name="fade-in" value="40" />
- + <property name="output" min="-20" max="1"/>
- + <property name="acceleration" value="0.1" />
- + <property name="alpha" value="0.5" />
- + <animation imageset="graphics/particles/fly.png" width="7" height="7">
- + <sequence start="0" end="1" delay="30" />
- + <frame index="1" delay="1000" />
- + </animation>
- + </emitter>
- + </particle>
- +</effect>
- \ No newline at end of file
- diff --git a/graphics/particles/fly.png b/graphics/particles/fly.png
- new file mode 100644
- index 0000000000000000000000000000000000000000..26d1054d8cdd6fcabfb7f833b94dadda3bcce694
- GIT binary patch
- literal 259
- zcmeAS@N?(olHy`uVBq!ia0vp^d_c_3!3HEP+-oF(6k~CayA#8@b22Z19JVBHcNd2L
- zAh=-f^2tCE&H|6fVg?3oVGw3ym^DWND9B#o>FdgVo1INqTTt;Bs}WF0vcxr_#5q4V
- zH#M(>!MP|ku_QG`p**uBL&4qCHz2%`PaLQy&eO#)MB;LC!UC2hs;YmFAHBaJk-1Bz
- z=lqOmQ@-3keZD{O_A+0d&Ckv{Kdk=w^PnjU3yXo0^r04=lLrnkOm`5wzb#XknVI=;
- wy$0{aj%5=ByV)cXjtCro%J1|~otuF{BF6aZ-M?aSK${pmUHx3vIVCg!07jrvD*ylh
- literal 0
- HcmV?d00001
- diff --git a/maps/008-1.tmx b/maps/008-1.tmx
- index dff11c7..ef09e34 100644
- --- a/maps/008-1.tmx
- +++ b/maps/008-1.tmx
- @@ -177,5 +177,6 @@
- <property name="monster_id" value="53"/>
- </properties>
- </object>
- + <object name="graphics/particles/fly.particle.xml" type="PARTICLE_EFFECT" x="3088" y="896" width="32" height="32"/>
- </objectgroup>
- </map>
- --
- 1.7.0.4
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement