Last Updated: February 25, 2016
·
3.929K
· jkneb

Animate a Street Fighter II character with sprites, css animations and basic keyboard events

Here's a demo I'm working on. Basically it's a big png sprite of Ken's moves. If you combine this with css animations and js events ... well maybe you'll get to the point of coding a HTML5 game :P

image

I also made up a cool Sass @mixin that allow me to automate moves declaration.

The Codepen demo ⇢

The post I wrote for David Walsh Blog ⇢