Canvas Game Bootstrap, Making Sprite-based Games with Canvas. The canvas element was introduced with HTML5 and provides an API for rendering on the web. The API is simple, but if you’ve never done graphics work before it might take some getting used to. It has great cross-browser support at this point, and it makes the web a viable platform for games.
In this article, we’re going to create a 2d game with canvas; a real game with sprites, animations, collision detection, and of course, explosions! What’s a game without explosions?