2 registered members (VoroneTZ, TipmyPip),
1,333
guests, and 0
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: What are you working on?
[Re: txesmi]
#405832
08/08/12 10:02
08/08/12 10:02
|
Joined: Jul 2001
Posts: 6,904
HeelX
Senior Expert
|
Senior Expert
Joined: Jul 2001
Posts: 6,904
|
this morning I wrote a shader looking for a leaking spray paint effect Interesting! Are you drawing the figure by hand (and the shader does only the "leaking") or have you encoded the "drawing", too? How do you achieve the effect? I guess you use a "spray paint" brush bitmap which is written additively into an accumulating floating point target. You then use another target which is the target for the shader and you just push the values above a threshold x down in Y-direction, in an infinite ping-pong manner.
|
|
|
Re: What are you working on?
[Re: HeelX]
#405837
08/08/12 11:04
08/08/12 11:04
|
Joined: Jun 2007
Posts: 1,337 Hiporope and its pain
txesmi
Serious User
|
Serious User
Joined: Jun 2007
Posts: 1,337
Hiporope and its pain
|
Interesting! Are you drawing the figure by hand (and the shader does only the "leaking") or have you encoded the "drawing", too? How do you achieve the effect? I drew the figure by hand and the shader does all the rest. I guess you use a "spray paint" brush bitmap which is written additively into an accumulating floating point target. You then use another target which is the target for the shader and you just push the values above a threshold x down in Y-direction, in an infinite ping-pong manner. good eye! Yes, it is a brush bitmap rotated randomly each frame. The painting action is done over a floating point 32bit bitmap, as you guessed. The shader adds the brush values over it and glides down the overpaint. Everything is done in the same pass. I added a random left-center-right glide to achieve a saw teeth effect. I use an other shader to translate the previous bitmap to a colored and visible bitmap. Here is the code, but remember that it is not a final version, just a workaround and not very fast indeed. enjoy!
|
|
|
Re: What are you working on?
[Re: txesmi]
#405841
08/08/12 12:31
08/08/12 12:31
|
Joined: Jul 2001
Posts: 6,904
HeelX
Senior Expert
|
Senior Expert
Joined: Jul 2001
Posts: 6,904
|
Here is the code, but remember that it is not a final version, just a workaround and not very fast indeed. enjoy! Wow, thanks for sharing! Am I allowed to adapt this for my own needs? ... I am talking about gore, blood and stuff. On walls. Hills. Bodies.
Last edited by HeelX; 08/08/12 12:31.
|
|
|
Re: What are you working on?
[Re: HeelX]
#405843
08/08/12 12:49
08/08/12 12:49
|
Joined: Jun 2007
Posts: 1,337 Hiporope and its pain
txesmi
Serious User
|
Serious User
Joined: Jun 2007
Posts: 1,337
Hiporope and its pain
|
Am I allowed to adapt this for my own needs? Of course, it is totally free. You can also keep that sense of gratitude, but only if you want, juaZ Salud!
|
|
|
Re: What are you working on?
[Re: txesmi]
#405867
08/08/12 19:25
08/08/12 19:25
|
Joined: Jul 2002
Posts: 3,208 Germany
Error014
Expert
|
Expert
Joined: Jul 2002
Posts: 3,208
Germany
|
Thank you for the feedback! Will you have some outdoor rooms ? like some trees among ruins ?
Yup, there's outdoor tilesets and decorational items you can place in your dungeons. Some things that could qualify as "ruins", too - though I admit not too many at this point. But we'll steadily add new content, the whole game is setup so that it can automatically update itself for that type of content.
Perhaps this post will get me points for originality at least.
Check out Dungeon Deities! It's amazing and will make you happy, successful and almost certainly more attractive! It might be true!
|
|
|
Re: What are you working on?
[Re: Error014]
#405913
08/10/12 08:08
08/10/12 08:08
|
Joined: Jun 2009
Posts: 2,210 Bavaria, Germany
Kartoffel
Expert
|
Expert
Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
|
I started working on a simple tower defense game. I also created a level editor to create custom levels: (load and save function doesn't work, yet)
POTATO-MAN saves the day! - Random
|
|
|
Re: What are you working on?
[Re: MasterQ32]
#405916
08/10/12 08:25
08/10/12 08:25
|
Joined: Jun 2009
Posts: 2,210 Bavaria, Germany
Kartoffel
Expert
|
Expert
Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
|
thanks use this minimalistic style, just different block colors for different towers and smaller blocks for the enemies I thought about something like that, too But I'm not sure... maybe I'll texture the blocks with very simple textures or give them slightly randomized colors to make the blocks look not all the same. Anyway, that's not very important. Next thing I'll do is get save / load working and think about how I could solve the pathfinding.
POTATO-MAN saves the day! - Random
|
|
|
|