• Home
  • About
    • Biography
    • Contact Info
  • Projects
    • 2D Map Editor
    • Dodge and Destroy
    • Intruder's Run
    • Procedural Terrain
    • Jim Bob's Jam
Nickpdevelop.net

Jim Bob’s Jam

Project Information
XBOX 360 game prototype developed in C# using the XNA Framework for a School project

Implementation Information
I was mostly responsible for the driving portion of the prototype. For our AI we used a behavior system allowing different entities to use the same types of AI. We implemented a driving behavior which allows the cars in the demo to drive down the road and get back to their path if they get off course. Unfortunately in this prototype we could not include the pedestrian AI, which was going to be a flocking module.

Collisions are handled by a separate component which contains references to all the interactive objects in the game. This way with ever update collisions were handled by one component.

Also the graphics engine culls everything that is not on screen. To calculate the view area I transformed two vectors by the inverse of the View matrix to get the top left and bottom right values in world coordinates on screen. This calculation made culling very simple.