[WIP] Flies

All development of pixel art and graphics
Post Reply
User avatar
Dark_Mag
Novice
Novice
Posts: 347
Joined: 18 Dec 2009, 21:14
Contact:

[WIP] Flies

Post by Dark_Mag » 07 Jul 2011, 09:36

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
Attachments
fly.png
Small animation
fly.png (259 Bytes) Viewed 973 times
Image
Image
User avatar
Dark_Mag
Novice
Novice
Posts: 347
Joined: 18 Dec 2009, 21:14
Contact:

Re: [WIP] Flies

Post by Dark_Mag » 07 Jul 2011, 22:14

Updated effect. Small fix: pastebin.com/uR7jSn0z

Cheer, dark
Image
Image
User avatar
Dark_Mag
Novice
Novice
Posts: 347
Joined: 18 Dec 2009, 21:14
Contact:

Re: [WIP] Flies

Post by Dark_Mag » 04 Aug 2011, 20:16

Tried to improve it. Here is the patch: http://pastebin.com/gCxJSTTE
Fixing flies speed and some other small things.

Cheers, dark
Image
Image
User avatar
Dark_Mag
Novice
Novice
Posts: 347
Joined: 18 Dec 2009, 21:14
Contact:

Re: [WIP] Flies

Post by Dark_Mag » 15 Aug 2011, 16:39

Improved effect:
New flies version. Made smaller size of the fly and added some more functions.
Patch: pastebin.com/zAY94Gcp

Cheers, dark
Attachments
fly.png
New fly
fly.png (271 Bytes) Viewed 763 times
Image
Image
Post Reply