Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Learning Windows 8 Game Development

You're reading from   Learning Windows 8 Game Development Windows 8 brings touchscreens to the tablet and PC. This book will show you how to develop games for both by following clear, hands-on examples. Takes your C++ skills into exciting areas of 3D development.

Arrow left icon
Product type Paperback
Published in Oct 2013
Publisher Packt
ISBN-13 9781849697446
Length 244 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Michael Quandt Michael Quandt
Author Profile Icon Michael Quandt
Michael Quandt
Arrow right icon
View More author details
Toc

Other sensors


In this section we'll take a look at the other sensors available in Windows 8 that can be useful for games. Whether they are used in conjunction with the other sensors or by themselves, these sensors can provide valuable data about the physical world. This context can be used for games that augment the world around the player and introduce new gameplay concepts that may not have been done before.

Light

One of the other sensors available for use is the light sensor. The light sensor is available on most tablet devices and provides an illuminance value that is usually used to adjust the screen brightness; however, any app or game can take advantage of this to provide different functionality. For example, a mapping application may use the illuminance value to determine if the phone is in sunlight and provides a different style of map that is easier to see. This could be done by games that use maps as well, or you might make a horror game that reacts to the light around the player...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime