PacktLib: Building your First Mobile Game using XNA 4.0

Building your First Mobile Game using XNA 4.0

Credits

About the Authors

Acknowledgement

About the Reviewers

www.PacktPub.com

Preface

Getting Started

Developing for Windows Phone

Getting started with your first application

The Game class

Summary

2D Graphics

2D coordinate system

Adding content

Drawing sprites

Refactoring our code

Adding movement to the hero

Adding animation to our hero

Summary

3D Graphics

3D coordinate system

Using matrices

Drawing models

Mixing 2D and 3D

Refactoring our code

Adding movement to the hero

Adding animation to our hero

Exercise: adding enemies

Summary

Input

Using keyboard

Using the accelerometer

Using touch

Gestures

Summary

Sound

Before we start

Playing sound

Playing 3D sound

Playing a song

Summary

Building a Basic Framework

Scene graph

Scene manager

Collision

Menus

Summary

Building a Game

Game concept

Menu scene

Level Scene

Summary

Releasing our game

Testing

Creating a trial version

Application certification requirements

Application submission process

Summary

Index