3D Funnies, a 3d graphics experiment.
Made by Anders "Trezker Dumle" Andersson
December 2002

1. What this?
2. Controls
3. What can I learn from this code as a programming example?
4. Contact



1. What this?
It's an experiment, I've done these worms in 2d before and thoght they were funny.
So now I made them in 3d, and they are a lot more fun now.
I have learnt some new progtricks doing this and it was very fun to program.
Basically it's just wormlike creatures randomly moving in 3d.
You can move around among them using controls as described below.



2. Controls

Holding right mb while moving mouse will rotate the view, unlimited on y-axis, -63 to 63 on x axis.
You can click a funnies head to select it. Preferably try this when paused, it's very hard to click a head in movement.
Click empty space to unselect.

Space switches between camera and transform matrixes, this affects rotation and movement of view.
W move forward
S move backward
A strafe left
D strafe right
Q swim up
Z swim down

P paus




3. What can I learn from this code as a programming example?
The usage of sin and cos with allegros 256 degrees to a circle format.
How to get a camera matrix working.
How to work with callback functions.
Zbuffering drawing primitives.
Using 3d stuff.
How a worm with several segments works.

I guess there's more to list but I can't sit here listing forever.
I haven't commented much so you'd probably have a hard time learning anyway unless you got the gift.

4. Contact
trezker@hotmail.com
ICQ# 106628808
IRC EFNet #allegro
Known as Trezker at...
www.allegro.cc
lunarstorm
smurfa
www.nobrain.nu