Building your First Mobile Game using XNA 4.0

A fast-paced, hands-on guide to building a 3D game for the Windows Phone 7 platform using XNA 4.0
Preview in Mapt

Building your First Mobile Game using XNA 4.0

Brecht Kets, Thomas Goussaert

A fast-paced, hands-on guide to building a 3D game for the Windows Phone 7 platform using XNA 4.0
Mapt Subscription
FREE
$29.99/m after trial
eBook
$16.80
RRP $23.99
Save 29%
Print + eBook
$39.99
RRP $39.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$16.80
$39.99
$29.99p/m after trial
RRP $23.99
RRP $39.99
Subscription
eBook
Print + eBook
Start 30 Day Trial

Frequently bought together


Building your First Mobile Game using XNA 4.0 Book Cover
Building your First Mobile Game using XNA 4.0
$ 23.99
$ 16.80
Microsoft XNA 4.0 Game Development Cookbook Book Cover
Microsoft XNA 4.0 Game Development Cookbook
$ 29.99
$ 21.00
Buy 2 for $34.30
Save $19.68
Add to Cart
Subscribe and access every Packt eBook & Video.
 
  • 5,000+ eBooks & Videos
  • 50+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 

Book Details

ISBN 139781849687744
Paperback158 pages

Book Description

With the dawn of the Windows Phone 7 platform, Microsoft has offered us an easy way to create 3D mobile games. In this book, we will build a 3D game for Windows Phone 7 together, taking full advantage of the graphics and touch capabilities, along with the sensors of the platform.

"Building your First Mobile Game using XNA 4.0" is the book for starting game development on the Windows Phone 7 platform. This book will go over the technical aspects of building games along with designing your own framework. Finally we’ll build an actual game together from the ground up! This book will set future mobile game developers in the right direction.

The XNA framework empowers us to build 2D and 3D games for PC, Xbox 360 and Windows Phone 7. We will use those capabilities to create stunning 3D games for the Windows Phone 7 platform. We will start by covering the basics like drawing graphics, followed by building a custom framework and end with building a game together!

In this book, we will cover drawing 2D and 3D graphics, both static and animations. We will also cover the various ways of handling user input and help set the mood of our game playing both 2D and 3D sound, and accessing the user’s media library. The only thing left before building a game is covering several techniques created for making our life easier while building the game, whilst building a framework to do just that. Finally, we’ll build a 3D game together that will run on the Windows Phone 7 platform.

"Building your First Mobile Game using XNA 4.0" is the book you need to get started with mobile game development for Windows Phone 7. Its hands on approach will set you on your way in no time. Let’s build some games!

Table of Contents

Chapter 1: Getting Started
Developing for Windows Phone
Getting started with your first application
The Game class
Summary
Chapter 2: 2D Graphics
2D coordinate system
Adding content
Drawing sprites
Refactoring our code
Adding movement to the hero
Adding animation to our hero
Summary
Chapter 3: 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
Chapter 4: Input
Using keyboard
Using the accelerometer
Using touch
Gestures
Summary
Chapter 5: Sound
Before we start
Playing sound
Playing 3D sound
Playing a song
Summary
Chapter 6: Building a Basic Framework
Scene graph
Scene manager
Collision
Menus
Summary
Chapter 7: Building a Game
Game concept
Menu scene
Level Scene
Summary
Chapter 8: Releasing our game
Testing
Creating a trial version
Application certification requirements
Application submission process
Summary

What You Will Learn

  • Installing the Windows Phone SDK and the XNA framework
  • Drawing 2D and 3D graphics
  • Mixing 2D and 3D graphics
  • Drawing 2D and 3D animations
  • Playing 2D and 3D sound
  • Playing songs
  • Handling touch input and gestures (tap, swipe, zoom, ...)
  • Building a scene graph and level system
  • Handling collision
  • Creating menus
  • How to build a 3D game!

Authors

Table of Contents

Chapter 1: Getting Started
Developing for Windows Phone
Getting started with your first application
The Game class
Summary
Chapter 2: 2D Graphics
2D coordinate system
Adding content
Drawing sprites
Refactoring our code
Adding movement to the hero
Adding animation to our hero
Summary
Chapter 3: 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
Chapter 4: Input
Using keyboard
Using the accelerometer
Using touch
Gestures
Summary
Chapter 5: Sound
Before we start
Playing sound
Playing 3D sound
Playing a song
Summary
Chapter 6: Building a Basic Framework
Scene graph
Scene manager
Collision
Menus
Summary
Chapter 7: Building a Game
Game concept
Menu scene
Level Scene
Summary
Chapter 8: Releasing our game
Testing
Creating a trial version
Application certification requirements
Application submission process
Summary

Book Details

ISBN 139781849687744
Paperback158 pages
Read More

Read More Reviews

Recommended for You

Learning C# by Developing Games with Unity 3D Beginner's Guide Book Cover
Learning C# by Developing Games with Unity 3D Beginner's Guide
$ 29.99
$ 21.00
Unity 4.x Cookbook Book Cover
Unity 4.x Cookbook
$ 29.99
$ 21.00
Unity 4.x Game AI Programming Book Cover
Unity 4.x Game AI Programming
$ 26.99
$ 18.90
Unity Shaders and Effects Cookbook Book Cover
Unity Shaders and Effects Cookbook
$ 29.99
$ 6.00
Learning Unity 2D Game Development by Example Book Cover
Learning Unity 2D Game Development by Example
$ 26.99
$ 18.90
Mastering Unity 2D Game Development Book Cover
Mastering Unity 2D Game Development
$ 32.99
$ 6.60