September 2012
Intermediate to advanced
552 pages
14h 48m
English
Up to this point this book has treated the word mobile as referring primarily to a form factor (small screen) and an input mechanism (touchscreen). A third major aspect to mobile devices is that they are portable, and thus the user’s location can be made into an interesting aspect of game play. This chapter examines the support to determine a device’s location, known as geolocation, which is available in one of the HTML5 families of specifications, and discusses how you can use it in games.
Read now
Unlock full access