O'Reilly logo

Learning Windows 8 Game Development by Michael Quandt

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

Locking on with a GPS

Although we know how to find the orientation of the device, we don't really know where it is in the world. This is where the GPS sensor comes into play. The GPS sensor (if installed) provides the latitude and longitude location of the machine, which we can use to determine where the device is and enable games that take advantage of that information.

Many games can use this information to provide a rich experience to the player, from augmented reality games through to spatial games that require you to be in certain physical locations. The increase in mobile platforms (phones and tablets) means that there has been an increase in this style of game, and as this is such a new occurrence there isn't a defined type of game or genre ...

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