Thursday, February 14, 2008

Glug Glug

Huzzah! A game I made last year has been released.

Aquanaut

The technology in this I was kinda proud of. The sub is actually a pentagon mesh of springs that bounce off of pixels using the Bresenham algorithm to correct to the surface of the pixels and calculate the bounce vector. One particle on it's own bounces weirdly (back along the angle of penetration). But tie several together with springs and somehow it rolls realistically, off of pixels!

The water transition is a displacement map trick like this one. Simon (the project's artist) made me a black and white long image to slide through the map. A decent map, makes for a decent effect.