Page 1 of 1

Water Fountain NPC

Posted: 06 Apr 2009, 16:04
by pateame
I was thinking about water animation tiles and how can I add them on game...
So, I see an example of an animated NPC (creepy surgeon) and think that It could works for water
My idea is create an animated NPC Fountain where players can trow coins, or fill empty bottles (maybe for a quest, I dunno).
Of that way, we could animate water and give fountain a use on game without start a map nightmare.

Animation at 3 frames faster:
Image (delay 20)

Sketch of getting fountain and 3 frames of water animation
Image

Also I change a little the fences on "TestTown" map based on fountain texture
(thinking about add that fountain on Test Town, or where can be useful).
Image
It´s still an unfinished idea, but I will try to put it on to can test it on local.
When I get more content sure I share the update .zip for the curious one.

Re: Water Fountain NPC

Posted: 06 Apr 2009, 16:37
by Crush
Animated map tiles are possible since 0.0.28. So not everything animated has to be an NPC. Animated fountains would be a great way to make use of this possibility. But you might also consider to use particle effects to enhance them.

Regarding the animation itself: It is a bit too choppy at the moment. Maybe add some frames in-between the current ones?

Re: Water Fountain NPC

Posted: 06 Apr 2009, 17:34
by Alxe
Or make the elalpse between frames quicker.

Re: Water Fountain NPC

Posted: 06 Apr 2009, 23:34
by pateame
I add now 5 frames to animation, also speed the delays (15).
Image
The GIF is just a sketch preview `cause the speed and other values will be added on the .XML file for the sprite´s NPC... but anyway I need suggestions about general view. Well, there´s a preview:
Image
I was thinking on add some sculpture over the fountain, but better to finish the base first.

Re: Water Fountain NPC

Posted: 07 Apr 2009, 00:05
by Len
What a great idea... and so far its looking great

Re: Water Fountain NPC

Posted: 07 Apr 2009, 00:26
by Armadeus
Oh my lord! great job!

Re: Water Fountain NPC

Posted: 07 Apr 2009, 00:45
by Crush
The waterfall looks good so far but the wave effect at the border of the bassin looks strange.

Re: Water Fountain NPC

Posted: 07 Apr 2009, 01:16
by Inkweaver
I think that it looks pretty good, but the waves are a little bit too regular.

Re: Water Fountain NPC

Posted: 07 Apr 2009, 15:33
by pateame
That shine on water is too hardcore for me now, I was watching my coffee cup surface by hours to get inspired, but Im just getting lazy. I finish now the .zip with .XMLs and tileset for Fountain NPC.

[+] Download: npcfountain.zip bea96c7d
On graphics, I try to add less bright to the border waves, but it still seems a little irregular when animation is running. There´s the tileset:
Image
(or fix the effect, or remove it... Im still confused)

Also add a simple NPC routine.
Player can trow coins on the fountain and can choose to trow 10, 100 or 1000 GP. When player donations are more than 3000 GP on fountain, he can fill 5 empty bottles from his inventory. When the limit be reached, an ammount of -1000 GP will be rested from his donations, so people will need to trow more coins to can fill more bottles.

Fountain Code: http://pateame.googlepages.com/fountain.txt
-----------------------
EDIT: I found a problem when I try to add FX effects of waterfall.
The FX is always below the NPC layer, so it doesnt work:
Image