Today I've had one of those days where you are tasked with a whole lot of little things. Each individual task doesn't seem to take long, but the effects stack up into some big results in the game.
One of this small tasks was to implement collision between walls and other objects. The challenge here is that most objects in the game have bounding spheres and radii, however this doesn't seem logical when the walls are more squarish - actually some might be so bold as to say that they are very squarish.
Long story short, I've implemented the functionality. The draw back is that our game is currently running at around 15 frames a second, which means that the collisions checks aren't as accurate as I would like them to be. I hope to go through the code and weed out all the sloppy loops that could be slowing it down.
Tuesday, December 2, 2008
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment