O'Reilly logo

Windows Phone 8 Game Development by Marcin Jamro

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 7. 2D User Interface in 3D Game

In the previous chapter, you improved the first prototype of the game by adding support for sensors. Currently, it is possible to steer the rocket by moving the phone, and increase or decrease its speed. What is more, the game supports multiple levels and counting score, while the rocket is flying and when it reaches the target planet.

In this chapter, you will learn how to use 2D graphics with DirectXTK library to create the rocket display, countdown at the beginning of each level, and the menu displayed when the game is paused or finished. At the end of the chapter, you will have the playable version of Space Aim 3D without additional features but allowing the player to steer the rocket, reach planets, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required