• Welcome to Dark Bit Factory & Gravity.
 

WaterFun + Source (Blitz 2d)[BB2D]

Started by Tetra, August 25, 2006

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

Tetra

Some of you mite remember this effect I made a long time ago on Clydes forum. Having recently seen Blitz Amateurs water sim it reminded me of mine.

Named WaterFun, it was a 640x480 water effect made with BlitzBasic that ran at a fairly decent speed. I had never released the source so I will do so now :)

To sum up how it works, the wave map is a low detail, while the texture is high detail. The low detail map I use to calculate texture coord offsets, then i use a textured polygon fill routine to render it onto the screen, giving the effect of a highdetail wave.

Enjoy

p.s Although this will compile fine with BlitzBasic, Blitz3D is the better compiler to use.

[edit ~ Blitzversion added to topic title]

[edit ~ Source code attached]
Challenge Trophies Won:

Dad1916

Really nice, thanks for sharing. I must try porting it to BlitzMax shortly.

zparticle


Shockwave

You should definately use this somehow Daf. It's too good to waste.
Shockwave ^ Codigos
Challenge Trophies Won:

relsoft

Whooa!!! That's cool!!!

FB version!!!!

I don't have Bmax. :*(
Challenge Trophies Won:

Tetra

Glad you like it guys, Dont worry Shock, I will be using it in my first ever real production :) its going to be big.

FB version uploaded Rel, It was one of the first thins I ever wrote in FB, and last lol, thats how well I know FB  :whack:
Challenge Trophies Won:

Rbz

Great water effect in 2D, really cool !
Challenge Trophies Won:

taj

Very nice smooth effect.
Challenge Trophies Won: