Tuesday, November 2, 2010

Collision Reworking

So it seems like collision detection has unearthed some other major projects.  Yay!  The code for collision detection "should" work, but when it came time to test it, we ran into some really hefty snags.  See, here was the problem:

We had three classes: GenericObject, PhysicsObject and Player (whose parent was PhysicsObject).  The problem lies in that PhysicsObjects are abstract so we'd have to create another class to inherit from Physics to do some work.  That would work, but then it caused some issues with detection of collisions. So some reworking of our structure is the next big step.  We have a plan which will make it much easier (using inheritance for different types of objects) and make collision a breeze, but it'll take a day or two to implement.

I never thought that making a working game would really be this consuming.  I think for the most part, we are going to be behind for Thursday (at least with collision...  the rest seems pretty close), but in the end, all the work we are doing now is going to make an AWESOME game.  Each of us really gets excited about working on it and being able to see our progress really makes a difference.

No comments:

Post a Comment