Version of Robotron arcade game using LPC1768, a Gameduino shield, a serial EEPROM (for high scores), two microswitch joysticks and two buttons plus a box to put it in. 20 levels of mayhem.
Dependencies: 25LCxxx_SPI CommonTypes Gameduino mbed
Diff: Animations.cpp
- Revision:
- 7:e72691603fd3
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Animations.cpp Sat Jun 08 16:44:54 2013 +0000 @@ -0,0 +1,20 @@ +/* + * SOURCE FILE : Animations.cpp + * + * Animations consisting of arrays of sprite image numbers in program memory. + * + */ + +#include "Animations.h" +#include "SpriteImageId.h" + +const UInt8 Animations::WomanAnimation[] = { Woman0Image, Woman1Image, Woman2Image, Woman1Image }; +const UInt8 Animations::ManAnimation[] = { Man0Image, Man1Image, Man2Image, Man1Image }; + +// Array containing addresses of all the human animations. +const UInt8 *Animations::HumanAnimations[ HumanAnimationCount ] = { + WomanAnimation, + ManAnimation, +}; + +const UInt8 Animations::CrusherAnimation[] = { Crusher0Image, Crusher1Image, Crusher2Image, Crusher1Image };