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

Interactive Help screen

The sensors can be used not only in the native part of the game, but also in the managed one. As an example, you will modify the Help screen to present a movement of the device, by drawing an interactive picture representing the device and arrows indicating a direction in which the rocket should be moved, as shown in the following screenshot:

Interactive Help screen

HelpPage.xaml

The interactive picture will be placed inside the StackPanel layout control in the Steering group, in HelpPage.xaml file. It is represented by the following XAML code:

<Grid Margin="0 10 0 0">
  <Grid.RowDefinitions> (...) </Grid.RowDefinitions>
  <Grid.ColumnDefinitions> (...) ...

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