HTML5, CSS3, and JavaScript used together are revolutionizing the web. These technologies enable you to create fantastic games, animated UIs, and stunning visualizations without the need for a third-party plug in, such as Flash. Learn how to add cutting edge features to your HTML5 games, such as multiplayer, persistent worlds, 3D, sprite control, pixel-level graphics access and animation, game saves, multi-threading, customizable control methods, and AI. All directly in the browser, and all in HTML5. This book is a direct sequel to Foundation HTML5 Games, containing advanced topics, such as websockets for multiplayer and persistent world gaming, and WebGL for creating 3D in HTML5. You'll also cover advanced methodologies for event handling, keyboard, mouse, and touch input for player control, HTML5 audio, sprites, pixel-level graphics access, and many more topics that are essential to creating modern games for the web and mobile devices. We round off the book by taking you step by step through a fully-realized arcade game utilizing all of the techniques that you have learned throughout the book. This illustrates how everything fits together so you can easily move that knowledge over to your own projects. What you'll learn Combine HTML5, CSS3, and JavaScript Use Websockets for multiplayer gaming Harness the power of web workers for multithreading Create advanced graphics using the Canvas object Use Sprites to maximize HTML5 performance Deploy games to mobile devices and the web Who this book is for This book will be of most benefit to readers who have some knowledge of HTML5 and CSS3 and a working knowledge of JavaScript. It is ideally read as a follow up to Foundation HTML5 Games, but is also essential reading for intermediate to advanced web developers wanting to jump right in to creating immersive games for the web.