This is an animation test for Pixel, the main character of one of my biggest upcoming games! (...What's the game's name? I'm not telling you! [At least, not yet] :P) Pixel's head will always look at your mouse. Use the 1 and 2 keys to change his mood. In the game, his expression will change automatically depending on your situation. (Enemies, Low HP. etc.) I achieved this amazing animation by breaking Pixel up into four different sprites. More detail in the code. Hold A/D to see the walking animations.