3D Game Development with XNA Framework

Version: 1.1.0

Description

This lab introduces you to 3D game development on Windows Phone 7®, as well as to the basics of game development using the XNA Game Studio. During the course of this lab, you will build a simple, yet complete, 3D game using XNA Game Studio, while getting familiar with the key concepts of XNA Game Studio 3D game development. You will also learn how to use Microsoft Visual 2010 Express with the Windows Phone 7® SDK to build and design your XNA games for phones based on Windows Phone 7®.

Overview

This lab introduces you to 3D game development on Windows Phone 7™, as well as to the basics of game development using the XNA Game Studio.

During the course of this lab, you will build a simple, yet complete, 3D game using XNA Game Studio, while getting familiar with the key concepts of XNA Game Studio 3D game development. You will also learn how to use Microsoft Visual 2010 Express with the Windows Phone 7™ SDK to build and design your XNA games for phones based on Windows Phone 7™.

Objectives

At the end of the lab you will know:

  • The basics of the XNA game engine model within Windows Phone 7™ games
  • How to import, process and use 3D game resources (3D models, textures, images, fonts, sound files, etc.) in your XNA Game Studio game
  • The basic drawing mechanism of Windows Phone 7™ XNA games, including applying lighting effects and camera movements
  • How to use the touch and accelerometer capabilities of the device for controlling the game, as well as pc input handling for simulating control while using the Windows Phone 7™ emulator.
  • How to add basic game logic and basic 3D physics (movement, rotation, collision detection, etc.)
  • How to add sound effects to your game
  • How to create and manage multiple game screens and menus for your game

Prerequisites

The following is required in order to complete this hands-on lab:

  • Microsoft Visual Studio 2010 Express for Windows Phone for Windows Phone or Microsoft Visual Studio 2010 with Windows Phone 7™ Add-In for Visual Studio 2010 installed

Tasks

This hands-on lab includes two excercises built from the following tasks:

Exercise 1

  1. Creating a new game project with game state management
  2. Loading, positioning and drawing 3D models
  3. Handling user input, rotating 3D objects, basic movements in 3D space and chase camera
  4. Collision detection and game physics (Acceleration, Friction, Velocity, Angular Velocity, etc.)

Exercise 2

  1. Adding screens and menus
  2. Adding sound effects
  3. Managing a High Scores table including commiting it to storage
  4. Adding a calibration screen for the accelerometer

Estimated time to complete this lab: 120 minutes.