Feb 03 2007
Game Development Day #2
My second day was filled with animation. This day was exciting because I was not only learning new coding techniques but also how to constructa proper usable sprite based upon the code I was writing.
- Created a 2D sprite of Megaman running right
- Animated the 2D texture as Megaman
- Added 3 layers of background
- Animated the mid layer to scroll continuously
- Placed Megaman on the foreground layer
- Coded Megaman to use run animation when moving left and right only and to use a standing animation when not moving
- Added horizontal flip code to the sprite so he stands left and runs left vs stands right and runs right