XNA DirectX C# Game Project – Making a Vehicle drive on a generated Terrain

XNA DirectX C# Game Project – Making a Vehicle drive on a generated Terrain

We have to do a semester project for our ComputerGrafics course, so Robert and I chose to generate a Terrain using a height-map. Our goal for this project is being able to drive on that terrain with a Vehicle using the W S A D keys. Furthermore we decided to use the XNA Framework for C# to accomplish it.

The Code will be released on this blog as soon as we finish the project. Explenations will be included too, so stay tuned :)

Must-Have Features

  • Generating a terrain to drive on from a gray scale image
  • Basic collision detection so that our vehicle drives along the surface of the terrain

Nice-to-Have Features

  • Textures on the terrain with more details near the camera (as seen on the screenshot above)
  • Advanced collision detection, so that the vehicle can tilt over edges
  • Basic physics, so that the vehicle smoothly tilts over edges

We have too much time Features

  • Advanced Physics, so that our vehicle can leave the ground (jump)
  • Trees

About the Author

Studying MultimediaTechnology in Salzburg, Austria