Chapter 15. Mobile Devices

Topics in This Chapter

15.1 Run Snail Bait on Mobile Devices

15.2 Detect Mobile Devices

15.3 Scale Games to Fit Mobile Devices

15.4 Change Instructions Underneath the Game’s Canvas

15.5 Change the Welcome Screen

15.6 Incorporate Touch Events

15.7 Work Around Sound Idiosyncrasies on Mobile Devices

15.8 Add an Icon to the Home Screen and Run Without Browser Chrome

15.9 Conclusion

15.10 Exercises

As this book went to press in mid 2014, Gartner—a highly respected technology research and advisory company—predicted a staggering two billion mobile phones and tablets would be sold in that year alone. By comparison, Gartner expected that around 280,000 desktop-based PCs and notebooks would be sold. That’s ...

Get Core HTML5 2D Game Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.