[WIP] Flies

All development of pixel art, maps and other graphics.


Post Reply
User avatar
Dark_Mag
Warrior
Warrior
Posts: 347
Joined: 18 Dec 2009, 20:14
Contact:

[WIP] Flies

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

Re: [WIP] Flies

Post by Dark_Mag »

Updated effect. Small fix: pastebin.com/uR7jSn0z

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

Re: [WIP] Flies

Post 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
Image
Image
User avatar
Dark_Mag
Warrior
Warrior
Posts: 347
Joined: 18 Dec 2009, 20:14
Contact:

Re: [WIP] Flies

Post 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
Attachments
New fly
New fly
fly.png (271 Bytes) Viewed 1588 times
Image
Image
Post Reply