CodeBase - Boxes and More Boxes

Return to the CodeBase listing

Category: 3D Effects

Version: 1.0

0
0

Information

Uploaded: 10th Feb 2011 22:24

Modified: 9th Sep 2011 23:33

Author:  Webber

Summary

Collision, Blur effects, Particles, etc. Awesome!

Full Description

This program creates about 1000 boxes, all with smooth sliding object collision.<br /> <br /> Basic Controls<br /> You use the mouse to look around and the arrow keys to move around.<br /> If you click on the mouse you can jump, but climbing up 1000 boxes<br /> can take a while. But its fun skydiving off of the top.<br /> <br /> <br /> The sync rate is only set to 20, you can change it to make the program run faster but it gets harder to control.<br /> <br /> <br /> The object collision does not use any of the object collision commands<br /> Instead it gets the objects positions, and the objects size to calculate the collision<br /> The collision works very smooth, but the boxes cannot be rotated.<br /> <br /> The Motion Blur effects are cool<br /> Basically they work by replacing the normal camera with a ghosted sprite image of the camera. It is set up with a percent system, that can be adjusted with the "M" key but<br /> when you bring the motion blur effect near 100% it gets so blurry that you can hardly see.<br /> <br /> There is also another blur effect that takes the same sprite and pastes it to the screen 4<br /> times in different directions. You can adjust this effect with the "B" key. 20 pixels is the maximum radius, but I don't recommend using a large radius for this effect. It starts to look like your seeing 4 objects instead of one.<br /> <br /> There is also a 256 X 256 sky box in the background, you can always load your own.<br /> <br /> The screen shot does not have the particle effect in it, but I added particles using plains. They follow the player, change to random colors, flop around, they look like confetti. And they look really cool with the blur effect on.<br /> <br /> It's pretty amazing what you can do with a bunch of boxes, so have fun with this code.<br /> <br /> Credit to The Game Guy would be appreciated, but is not required.<br />

Comments

No comments yet.