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

Rocket display

The next stage of developing your game is related to adding the rocket display. It presents the number of the current level (on the left), the score (in the middle), and the number of remaining rockets (on the right). In this section, you will learn how to create texture in the .dds format, draw it using the sprite batch mechanism, prepare the sprite font, and display some text on the screen.

Concept

The rocket display should be shown on the whole screen only if the game is in the STARTING or PLAYING state. It needs to support all available screen resolutions, regardless of the aspect ratio. The number of current level should be aligned to the left, the number of remaining rockets should be aligned to the right, while the score should ...

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