Windows Phone 8 Game Development

A practical guide to creating games for the Windows Phone 8 platform

Windows Phone 8 Game Development

Progressing
Marcin Jamro

A practical guide to creating games for the Windows Phone 8 platform
$29.99
$49.99
RRP $29.99
RRP $49.99
eBook
Print + eBook
$12.99 p/month

Want this title & more? Subscribe to PacktLib

Enjoy full and instant access to over 2000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.
+ Collection
Free Sample

Book Details

ISBN 139781849696807
Paperback394 pages

About This Book

  • Create a 3D game for the Windows Phone 8 platform
  • Combine native and managed development approaches
  • Discover how to use a range of inputs, including sensors
  • Learn how to implement geolocation and augmented reality features
  • Allow communication between players via web services
  • Prepare and publish your game in the Windows Phone Store

Who This Book Is For

The book is dedicated to the beginners in a field of game development and the Windows Phone 8 platform who want to create their first game! No prior experience regarding 2D and 3D games development, the mobile platform, as well as XAML and Direct3D technologies, is necessary. However, some basic knowledge of object-oriented programming (especially in case of C++ and C# languages) is required to understand parts of code described in the book.

Table of Contents

Chapter 1: Getting Started
Windows Phone platform
Managed, native, and hybrid development
First steps
Concept of the game
Summary
Chapter 2: Game User Interface
New project
Project structure
Manifest file
Application lifecycle
First screen
Running
Debugging
Resources shared among all screens
Data binding
Localization
Summary
Chapter 3: MVVM Design Pattern
Model-View-ViewModel
Menu screen
Map screen
Ranks screen
Settings screen
World, Web, and Help screens
Game screen
Summary
Chapter 4: 3D Graphics Basics
Introduction to 3D graphics
Direct3D-related part
Necessary modifications
Native part debugging
Summary
Chapter 5: 3D Game World
Planet model
Adding asteroids to the game world
Flying towards the planet
Summary
Chapter 6: Steering, Sensors, and Collision Detection
Rocket steering
Game levels
Collision detection
Improving performance
Other sensors in the native part
Interactive Help screen
Other sensors in the managed part
Summary
Chapter 7: 2D User Interface in 3D Game
DirectX Tool Kit
Game states
Rocket display
Localized strings
Level countdown
Menus
Summary
Chapter 8: Maps, Geolocation, and Augmented Reality
Maps and geolocation
Augmented reality
Navigation to GPS coordinates
Summary
Chapter 9: Exchanging Data via Web Services
SOA and WCF
Creating a web service
Web service deployment
Web service usage
Summary
Chapter 10: Social Networks, Feeds, Settings, and Local Rank
Publishing posts with Facebook API
Tweeting by Twitter API
Obtaining data from RSS feeds
Game settings
Local rank
Summary
Chapter 11: Improving Game Experience
Saving and loading the game state
Audio support
Video support
Vibrations
Speech recognition and synthesis
Disabling the lock screen
Summary
Chapter 12: Game Publishing
Manifest file
Rating by the users
Release version
Store Test Kit
Simulation Dashboard
Windows Phone Application Analysis
Frame rate counters
Certification requirements
Publishing in the store
Updating submission
Summary

What You Will Learn

  • Combine native and managed development approaches
  • Run and debug Windows Phone 8 applications
  • Use XAML language to create the user interface
  • Create 3D graphics with Direct3D
  • Draw 2D graphics with DirectXTK
  • Create game logic and detect collisions
  • Steer the game with sensors
  • Use maps, geolocation, and augmented reality features
  • Share data via social networks
  • Add audio and video support
  • Recognize and synthesize speech

In Detail

Currently almost everyone has a mobile phone that is used not only for calling, texting, and browsing the Internet, but also as an entertainment and social platform. Developers can create advanced 3D games with outstanding functionality that allow the player to enjoy the game directly on the mobile phone and cooperate with other players via the Internet!

Windows Phone 8 Game Development is a practical, hands-on guide that will show you how to create a 3D game for the Windows Phone 8 platform. From setting up the environment to publishing your game, you will first learn how to implement 3D and 2D graphics with Direct3D, XAML, C++, and C#. We will then look at the game logic, steering with sensors, detecting collisions, as well as using maps, geolocation, augmented reality, social networks, and web services to share data between players. Featuring many code examples, images, and diagrams you should find the content both engaging and easy to understand.

Authors

Table of Contents

Chapter 1: Getting Started
Windows Phone platform
Managed, native, and hybrid development
First steps
Concept of the game
Summary
Chapter 2: Game User Interface
New project
Project structure
Manifest file
Application lifecycle
First screen
Running
Debugging
Resources shared among all screens
Data binding
Localization
Summary
Chapter 3: MVVM Design Pattern
Model-View-ViewModel
Menu screen
Map screen
Ranks screen
Settings screen
World, Web, and Help screens
Game screen
Summary
Chapter 4: 3D Graphics Basics
Introduction to 3D graphics
Direct3D-related part
Necessary modifications
Native part debugging
Summary
Chapter 5: 3D Game World
Planet model
Adding asteroids to the game world
Flying towards the planet
Summary
Chapter 6: Steering, Sensors, and Collision Detection
Rocket steering
Game levels
Collision detection
Improving performance
Other sensors in the native part
Interactive Help screen
Other sensors in the managed part
Summary
Chapter 7: 2D User Interface in 3D Game
DirectX Tool Kit
Game states
Rocket display
Localized strings
Level countdown
Menus
Summary
Chapter 8: Maps, Geolocation, and Augmented Reality
Maps and geolocation
Augmented reality
Navigation to GPS coordinates
Summary
Chapter 9: Exchanging Data via Web Services
SOA and WCF
Creating a web service
Web service deployment
Web service usage
Summary
Chapter 10: Social Networks, Feeds, Settings, and Local Rank
Publishing posts with Facebook API
Tweeting by Twitter API
Obtaining data from RSS feeds
Game settings
Local rank
Summary
Chapter 11: Improving Game Experience
Saving and loading the game state
Audio support
Video support
Vibrations
Speech recognition and synthesis
Disabling the lock screen
Summary
Chapter 12: Game Publishing
Manifest file
Rating by the users
Release version
Store Test Kit
Simulation Dashboard
Windows Phone Application Analysis
Frame rate counters
Certification requirements
Publishing in the store
Updating submission
Summary

Book Details

ISBN 139781849696807
Paperback394 pages
Read More