HTML5 Games: Creating Fun with HTML5, CSS3 and WebGL, 2nd Edition Front Cover

HTML5 Games: Creating Fun with HTML5, CSS3 and WebGL, 2nd Edition

  • Length: 456 pages
  • Edition: 2
  • Publisher:
  • Publication Date: 2014-03-10
  • ISBN-10: 1118855388
  • ISBN-13: 9781118855386
  • Sales Rank: #1639756 (See Top 100 Books)
Description

HTML5 Gamesshows you how to combine HTML5, CSS3 and JavaScript to make games for the web and mobiles – games that were previously only possible with plugin technologies like Flash. Using the latest open web technologies, you are guided through the process of creating a game from scratch using Canvas, HTML5 Audio, WebGL and WebSockets.

Inside, Jacob Seidelin shows you how features available in HTML5 can be used to create games. First, you will build a framework on which you will create your HTML5 game. Then each chapter covers a new aspect of the game including user input, sound, multiplayer functionality, 2D and 3D graphics and more. By the end of the 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.

Topics include:

  • Dealing with backwards compatibility
  • Generating level data
  • Making iOS and Android web apps
  • Taking your game offline
  • Using Web Workers
  • Persistent Game Data
  • Drawing with Canvas
  • Capturing player input
  • Creating 3D graphics with WebGL
  • Textures and lighting
  • Sound with HTML5 Audio

And moreā€¦

Table of Contents

Part I: Getting Started with HTML5 Games
Chapter 1: Gaming on the Web
Chapter 2: Taking the First Steps
Chapter 3: Going Mobile

Part II: Creating the Basic Game
Chapter 4: Building the Game
Chapter 5: Delegating Tasks to Web Workers
Chapter 6: Creating Graphics with Canvas
Chapter 7: Creating the Game Display
Chapter 8: Interacting with the Game
Chapter 9: Animating Game Graphics

Part III: Adding 3D and Sound
Chapter 10: Creating Audio for Games
Chapter 11: Creating 3D Graphics with WebGL
Part IV: Local Storage and Multiplayer Games
Chapter 12: Local Storage and Caching
Chapter 13: Going Online with WebSockets

To access the link, solve the captcha.