Building your First Mobile Game using XNA 4.0
Formats:
save 15%!
save 20%!
Free Shipping!
| Also available on: |
|
- Building a 3D game for the Windows Phone 7 platform
- Drawing 2D and 3D graphics on Windows Phone.
- Using the rich capabilities of the Windows Phone platform.
- Creating a custom framework step by step that will act as a base for building (future) games.
- An engaging and hands on beginner’s guide to Windows Phone 7 3D game development using XNA 4.0.
Book Details
Language : EnglishPaperback : 158 pages [ 235mm x 191mm ]
Release Date : January 2013
ISBN : 1849687749
ISBN 13 : 9781849687744
Author(s) : Brecht Kets, Thomas Goussaert
Topics and Technologies : All Books, Enterprise, Games, Microsoft
Table of Contents
PrefaceChapter 1: Getting Started
Chapter 2: 2D Graphics
Chapter 3: 3D Graphics
Chapter 4: Input
Chapter 5: Sound
Chapter 6: Building a Basic Framework
Chapter 7: Building a Game
Chapter 8: Releasing our game
Index
- Chapter 1: Getting Started
- Developing for Windows Phone
- Installing the Windows Phone SDK
- Registering your Windows Phone
- Getting started with your first application
- The Game class
- Fields
- Constructor
- Initialize
- LoadContent
- UnloadContent
- Update
- Draw
- Summary
- Chapter 2: 2D Graphics
- 2D coordinate system
- Adding content
- Drawing sprites
- Adding fields
- Loading textures
- Drawing textures
- Refactoring our code
- Render context
- The base class
- Properties
- Constructor
- Methods
- Building the GameSprite class
- Fields
- Properties
- Constructor
- Methods
- Updating MainGame
- Fields
- Initialize
- LoadContent
- Update
- Draw
- Result
- Adding movement to the hero
- The Hero2D class
- Fields
- Initialize
- LoadContent
- Update
- Draw
- Updating the game class
- Result
- Adding animation to our hero
- Sprite sheets
- The GameAnimatedSprite class
- Fields
- Properties
- Constructors
- Play, pause, and stop
- Update
- Updating Hero2D
- Fields
- Initialize
- Update
- Result
- Summary
- Chapter 3: 3D Graphics
- 3D coordinate system
- Using matrices
- Drawing models
- Adding fields
- Initialize
- Loading models
- Drawing models
- Result
- Mixing 2D and 3D
- Refactoring our code
- The base class
- Properties
- Constructor
- Methods
- The camera
- Updating RenderContext
- The GameModel
- Fields
- Constructor
- Methods
- Updating MainGame
- Fields
- Initialize
- LoadContent, Update, and Draw
- Result
- Adding movement to the hero
- The Hero3D class
- Fields
- Initialize
- LoadContent and Draw
- Update
- Updating the Game class
- Result
- Adding animation to our hero
- The GameAnimatedModel class
- Fields
- LoadContent
- Update
- Controlling animations
- Draw
- Updating Hero3D
- Result
- Exercise: adding enemies
- Summary
- Chapter 4: Input
- Using keyboard
- Using the accelerometer
- Using touch
- Gestures
- Enabling gestures
- Reading gestures
- Summary
- Chapter 5: Sound
- Before we start
- Playing sound
- SoundEffect
- Setting volume, pitch, and pan
- SoundEffectInstance
- Fields
- LoadContent
- Playing 3D sound
- Fields
- LoadContent
- Update
- Result
- Playing a song
- Summary
- Chapter 6: Building a Basic Framework
- Scene graph
- Implementation
- Fields
- Constructor
- Methods
- Using the code
- Scene manager
- The GameScene
- Properties
- Constructor
- Methods
- The SceneManager
- Properties
- Constructor
- Managing the scenes
- Initialize and LoadContent
- Update and Draw
- Creating scenes
- Updating the main game
- Initialize
- LoadContent
- Update and Draw
- Result
- Collision
- The extension method
- Updating GameObject2D
- Updating Hero2D
- Testing for collisions
- Result
- Menus
- The button
- Fields and events
- Constructor
- LoadContent
- Update
- The menu scene
- Result
- Summary
- Chapter 7: Building a Game
- Game concept
- Menu scene
- Fields
- Constructor
- Initialize
- LoadContent
- Level Scene
- Prerequisites
- Level Scene
- Background
- Fields
- Initialize
- Update
- Scene Implementation
- Path
- Fields
- Initialize
- Update
- Scene implementation
- Scene Camera
- Buttons Controller
- Fields and properties
- Initialize
- RandomizeButtons method
- Update
- ForceButtonRelease method
- Scene implementation
- Hero
- Fields and properties
- Initialize
- SetHeroAction method
- Update
- Scene implementation
- Swing Ball
- Prerequisites
- Fields
- Initialize
- LoadContent
- Update
- Scene implementation
- Spikes
- Fields
- Initialize
- Scene implementation
- Enemy
- Fields and properties
- Constructor
- Initialize
- EnemyAnimationComplete method
- LoadContent
- Update
- Draw
- Scene implementation
- Perspective Camera
- Constructor
- Bringing it all together
- Extra fields
- AddObstacle method
- ResetLevel method
- Deactivate
- SetObstacle method
- Initialize extension
- Update extension
- Summary
- Chapter 8: Releasing our game
- Testing
- Creating a trial version
- Application certification requirements
- Application submission process
- Summary
Brecht Kets
Thomas Goussaert
Code Downloads
Download the code and support files for this book.
Submit Errata
Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.
Sorry, there are currently no downloads available for this title.
- 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!
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!
This book is a step-by-step tutorial with a lot of screenshots that help to explain the concept better.
This book will cover the building of a 3D game for Windows Phone using XNA. We won’t explain the C# programming language itself, nor object-oriented programming.
We will however explain the aspects of game development thoroughly, so don’t worry if you have never written a 3D game. We will cover all the basics, included the much dreaded math. This is the right book for anyone, regardless of age and gender, if:
- You are interested in game development
- You want to start building games for Windows Phone
- You have some programming knowledge
In this book, we will first go over the technical topics, and end up building a 3D game for Windows Phone 7 together!

