Page 1 of 1

sparkle

Posted: 23 Mar 2008, 04:29
by Len
Wouldn’t it be helpful to add a sparkle effect to dropped items (the effect should be seeable even behind objects such as monster corpses and trees)

Also
Dave wrote:I know I don't have to tell you this, but you're a valued volunteer. Your forest tileset is looking great. About the trees in the forest, are you going to have tops on them that turn mostly transparent when you walk behind them? (hehe, forgive me if you've explained this a million times.. ;) ) I'd like to request that you eventually add some cave entrance tiles. ..and boulders and rocks! :D ..anyhow, keep up the good work.
Is something like that possible? It would keep the trees and other objects from disrupting game play on the new server.

Re: sparkle

Posted: 23 Mar 2008, 05:04
by Jaxad0127
We could give draw the current player twice, once as normal and again with some transparency above the over layer. This could also be done for the current target monster to help keep track of them as well.

Re: sparkle

Posted: 23 Mar 2008, 05:22
by Len
Thats beautifully simple 8)

Re: sparkle

Posted: 23 Mar 2008, 19:27
by leeor_net
But imho, wouldn't look quite right.

I imagine it should be simple enough to blend an alpha map onto the overlay layer where the player is. This should be just as simple yet provide the sort of 'see-through' effect that has been mentioned.

Re: sparkle

Posted: 23 Mar 2008, 23:51
by Jaxad0127
leeor_net wrote:But imho, wouldn't look quite right.

I imagine it should be simple enough to blend an alpha map onto the overlay layer where the player is. This should be just as simple yet provide the sort of 'see-through' effect that has been mentioned.
But that wouldn't help when the player is being covered by something on the object layer. Or a tall thing on the over layer.

Why wouldn't it look right?

Re: sparkle

Posted: 24 Mar 2008, 16:32
by Crush
The player sprite is not one graphics but a combination of several graphics (base sprite, clothes, hair) which are separately drawn over each other. When you would draw them again with half transparency you would see the parts which are supposed to be covered by the top sprites.

Re: sparkle

Posted: 24 Mar 2008, 17:15
by Jaxad0127
Crush wrote:The player sprite is not one graphics but a combination of several graphics (base sprite, clothes, hair) which are separately drawn over each other. When you would draw them again with half transparency you would see the parts which are supposed to be covered by the top sprites.
The sprite could be drawn into a buffer and the buffer drawn twice. This would also reduce the total amount of drawing needed.

Re: sparkle

Posted: 17 Jan 2010, 18:31
by Len
I think we need to revisit the sparkle effect idea, especially considering the frustration of not knowing whether an item such as a clover has dropped behind an object.

Re: sparkle

Posted: 17 Jan 2010, 19:26
by Crush
The current dev version of the client already solved this issue by drawing items transparent over obstructing map graphics.

A particle effect, on the other hand, would be obscured by map objects like the item graphic is obscured in the current client.

Re: sparkle

Posted: 17 Jan 2010, 19:48
by Rotonen
Apparently particles need a tag for in which layer they are displayed. I'd like some to be displayed above everything occasionally too.