Code Budget: 120 Hours, 40 Spent
Media Budget: 200 Hours, 5 Spent
Day Breakdown: 8 Hours of Code
Well, the most difficult part of the game is now behind me. Collision detection is now in the game and working wonderfully. The player can fire their weapons and even fly into the enemy ships in an effort to destroy them, and the enemy ships can fire back in an attempt to destroy the player. I've created a virtual world that the user can interact with complete with goals and challenges: in other words, it is now officially a game!
As you'll probably be able to tell from the screen shots I used Oriented Bounding Boxes for my collision detection. I thought about using sub spheres, but decided against it because most of the ships will be a single model mesh making using sub spheres more difficult. The computational cost of the Bounding Boxes is actually quite low when I realized that 95% of all checks are going to fail on the basic Z component check, which can programmed in to be the first check. I've shown the Debug level code in the screen shots here which allows for the drawing of the bounding boxes.
Goals For Tomorrow: HUD, Player Shield/Power Regen
Eep, I need to dodge all those bullets now!

Looks like I need to get better, Red Box indicates I'm dead! QQ
No comments:
Post a Comment