Page 1 of 1

[WIP] Flies

Posted: 07 Jul 2011, 08:36
by Dark_Mag
Hello everyone,

Today (or yesterday), I decided to add new particle effect. I called it "Flies", as it contains animation with small flies. I've added it to the map (008-1). I found it good to add some more reality into the game.

Here is the patch (apply it in client-data): pastebin.com/f7uKAiSa

Code: Select all

<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>
Cheers, dark

Re: [WIP] Flies

Posted: 07 Jul 2011, 21:14
by Dark_Mag
Updated effect. Small fix: pastebin.com/uR7jSn0z

Cheer, dark

Re: [WIP] Flies

Posted: 04 Aug 2011, 19:16
by Dark_Mag
Tried to improve it. Here is the patch: http://pastebin.com/gCxJSTTE
Fixing flies speed and some other small things.

Cheers, dark

Re: [WIP] Flies

Posted: 15 Aug 2011, 15:39
by Dark_Mag
Improved effect:
New flies version. Made smaller size of the fly and added some more functions.
Patch: pastebin.com/zAY94Gcp

Cheers, dark