Cover image for HTML5 Games : Creating Fun with HTML5, CSS3, and WebGL.
HTML5 Games : Creating Fun with HTML5, CSS3, and WebGL.
Title:
HTML5 Games : Creating Fun with HTML5, CSS3, and WebGL.
Author:
Seidelin, Jacob.
ISBN:
9781119976325
Personal Author:
Edition:
1st ed.
Physical Description:
1 online resource (514 pages)
Contents:
Publisher's Acknowledgements -- About the Author -- Acknowledgments -- Table of Contents -- Introduction -- Part I: Getting Started with HTML5 Games -- Chapter 1: Gaming on the Web -- Tracing the History of HTML5 -- Using HTML5 for Games -- Creating Backward Compatibility -- Building a Game -- Summary -- Chapter 2: Taking the First Steps -- Understanding the Game -- Identifying Game Stages -- Creating the Application Skeleton -- Creating the Splash Screen -- Summary -- Chapter 3: Going Mobile -- Developing Mobile Web Applications -- Handling User Input on Mobile Devices -- Adapting to Small Screen Resolutions -- Creating Different Views -- Developing for iOS and Android Devices -- Debugging Mobile Web Applications -- Summary -- Part II: Creating the Basic Game -- Chapter 4: Building the Game -- Creating the Game Board Module -- Implementing the Rules -- Summary -- Chapter 5: Delegating Tasks to Web Workers -- Working with Web Workers -- Using Workers -- Using Web Workers in Games -- Summary -- Chapter 6: Creating Graphics with Canvas -- Graphics on the Web -- Drawing with Canvas -- Accessing Image Data -- Summary -- Chapter 7: Creating the Game Display -- Preloading Game Files -- Improving the Background -- Building the Game Screen -- Summary -- Chapter 8: Interacting with the Game -- Capturing User Input -- Building the Input Module -- Summary -- Chapter 9: Animating Game Graphics -- Making the Game React -- Adding Points and Time -- Summary -- Part III: Adding 3D and Sound -- Chapter 10: Creating Audio for Games -- HTML5 Audio -- Using the audio Element -- Working with Audio Data -- Building the Audio Module -- Adding Sound Effects to the Game -- Summary -- Chapter 11: Creating 3D Graphics with WebGL -- 3D for the Web -- Shaders -- Rendering 3D Objects -- Using Textures and Lighting -- Creating the WebGL display -- Summary.

Part IV: Local Storage and Multiplayer Games -- Chapter 12: Local Storage and Caching -- Storing Data with Web Storage -- Making the Game State Persistent -- Creating a High Score List -- Application Cache -- Summary -- Chapter 13: Going Online with WebSockets -- Using WebSockets -- Using Node on the Server -- Summary -- Chapter 14: Resources -- Using Middleware -- Deploying on Mobile Devices -- Distributing Your Games -- Using Online Services -- Summary -- Index -- Appendix A: Canvas Reference -- The Canvas Element -- The 2D Context API -- Appendix B: WebGL Reference -- WebGL API Reference -- Appendix C: OpenGL ES Shading Language -- GLSL ES Language Reference.
Abstract:
Discover new opportunities for building 2D and 3D games with HTML5 The newest iteration of HTML, HTML5 can be used with JavaScript, CSS3, and WebGL to create beautiful, unique, engaging games that can be played on the web or mobile devices like the iPad or Android phones. Gone are the days where games were only possible with plugin technologies such as Flash and this cutting-edge book shows you how to utilize the latest open web technologies to create a game from scratch using Canvas, HTML5 Audio, WebGL, and WebSockets. You'll discover how to build a framework on which you will create your HTML5 game. Then each successive chapter covers a new aspect of the game, including user input, sound, multiplayer functionality, 2D and 3D graphics, and more. Aims directly at a new way to develop games for the web through the use of HTML5 Demonstrates how to make iOS and Android web apps Explains how to capture player input; create 3D graphics; and incorporate textures, lighting, and sound Guides you through the process of creating a game from scratch using Canvas, HTML5 Audio, WebGL, and WebSockets By the end of this invaluable book, you will have created a fully functional game that can be played in any compatible browser or on any mobile device that supports HTML5.
Local Note:
Electronic reproduction. Ann Arbor, Michigan : ProQuest Ebook Central, 2017. Available via World Wide Web. Access may be limited to ProQuest Ebook Central affiliated libraries.
Electronic Access:
Click to View
Holds: Copies: