Tonight, I made an attempt at creating a HTML5 Canvas sprite animation. The process is actually quite simple, if not a little fiddly. I figure that I’ll need to get good at this, if I want to finish my game. Anyhow, an example of one of the sprites I created can be seen below. The sprite loops through 4 states, using a spritemap to show a different alien for each state. I’m thinking of using this one as part of my game’s intro.
This is the HTML5 canvas animation that I’m currently using in the header of this site. I’m not sure how long it will last on this site, so here is the CodePen. The animation is supposed to look like a giant barcode. It is randomly generated, so the chances of seeing the same barcode twice are quite slim. Anyhow, I love playing around with the canvas element :)
BrowserQuest is a multiplayer game inviting you to explore a world of adventure from your Web browser.
A massively multiplayer adventure game from Mozilla, designed to showcase HTML5 and WebSockets. Looks beautiful.
A simple collision detection demo using the HTML5 canvas element, version #2. This version tests for collisions between blocks and debris, meaning there is a chance of a chain-reaction of collisions. See version #1 for single collision detection.
A nice use of CSS animations to produce an interesting pulsating avatar. Love the cat!