Introduction
Games have long been a medium that pushes technology to its limits. This book continues that proud tradition by taking the core technologies of the web—HTML, CSS, and JavaScript—and pushing them to the edges of their capabilities and performance. HTML5 as a game medium has come a long way capability-wise in a short amount of time, and many people believe in-browser gaming will be one of the primary distribution mechanisms for games in the coming years.
Even though it’s not an environment originally designed for creating games, HTML5 is actually a nice, high-level environment for doing just that. So, in lieu of trying to abstract away all the boilerplate by building an engine immediately, you can get right to the good stuff: a one-off game built from the ground up on HTML5—a top-down 2-D space shooter called Alien Invasion.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access