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

Quick links: > What will you learn?> Table of content

Mapt Subscription
FREE
$29.99/m after trial
eBook
$12.00
RRP $23.99
Save 49%
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
$12.00
$39.99
$29.99 p/m after trial
RRP $23.99
RRP $39.99
Subscription
eBook
Print + eBook
Start 14 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
$ 12.00
Game Data Analysis – Tools and Methods Book Cover
Game Data Analysis – Tools and Methods
$ 17.99
$ 9.00
Buy 2 for $21.00
Save $20.98
Add to Cart

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

Game Data Analysis – Tools and Methods Book Cover
Game Data Analysis – Tools and Methods
$ 17.99
$ 9.00
Grome Terrain Modeling with Ogre3D, UDK, and Unity3D Book Cover
Grome Terrain Modeling with Ogre3D, UDK, and Unity3D
$ 15.99
$ 8.00
Mastering Unity 2D Game Development Book Cover
Mastering Unity 2D Game Development
$ 32.99
$ 6.60
XNA 4.0 Game Development by Example: Beginner's Guide – Visual Basic Edition Book Cover
XNA 4.0 Game Development by Example: Beginner's Guide – Visual Basic Edition
$ 26.99
$ 13.50
Instant HTML5 2D Platformer Book Cover
Instant HTML5 2D Platformer
$ 9.99
$ 5.00
GameSalad Beginner’s Guide Book Cover
GameSalad Beginner’s Guide
$ 26.99
$ 13.50