Suggestion wave module (ripple objects)

Started by Candle, Fri 12/05/2006 10:46:48

Previous topic - Next topic

Candle

Something that you could maybe add a hotspot ot object and you could make tree leaves move in the breeze.
Clouds look like they were moving .fans moving , think you get what I mean.
Maybe could be done?
Thanks for reading.
I could show you what I mean with some other program.

fix typos.

R4L

I would also like to see something of the like.

GarageGothic

This is certainly possible. I coded a full-screen heat haze effect which was intolerable slow, but for smaller areas it should work. Since the module would be using RawDraw routines, there would be limits to the ripple (such as rippling per 2 pixels in hi-res modes), and it would require a bit of work from the end-user (technically it would be possible to detect the area using hotspots, but I think it would be more efficient if the user created his own masking for the area as a sprite).

All this said, I'm wondering though if you wouldn't be better off just animating the areas as you would normally, using objects or background animation. Just a few days ago, I considered doing a water module for rippling reflections. But in the end I came to the conclusion that it wouldn't look half as good as a real animation, and would require almost as much work to set up (and to be honest, how often would you need it in a game?). I think it would be an interesting challenge if you were making, say, a Matrix game and needed the rippling bullet effect to be drawn anywhere at the screen at any time. But seeing your examples of moving leaves and clouds, I really do think animation would suit your purposes better.

Candle

Here is something I did in adventure maker game program that shows the ripple I was talking about and how one could use it.
http://www.candles-weblog.us/Ripple.exe
Hope someone could do a mod like this.

R4L

Candle: Your ripples are pretty good. Just one thing though, the fan ripple. It would be great for water.

Candle

Thanks , I made the ripple to big on the fan or it would of look a lot better.
Hope someone can do something like this.

fovmester

Wow! That ripple effect would look stunning for water! A module might be too slow though. What about a plugin? Anyone who knows Allegro well enough?

SMF spam blocked by CleanTalk