![](/media/cache/profiles/859bf1416b8b8761c5d588dee78dc65f.50x50_q85.jpg)
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
Animations.cpp@18:70190f956a24, 2013-06-17 (annotated)
- Committer:
- RichardE
- Date:
- Mon Jun 17 15:10:43 2013 +0000
- Revision:
- 18:70190f956a24
- Parent:
- 7:e72691603fd3
Improved response to button 1 when entering high scores (HighScoreEntry.cpp).
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
RichardE | 7:e72691603fd3 | 1 | /* |
RichardE | 7:e72691603fd3 | 2 | * SOURCE FILE : Animations.cpp |
RichardE | 7:e72691603fd3 | 3 | * |
RichardE | 7:e72691603fd3 | 4 | * Animations consisting of arrays of sprite image numbers in program memory. |
RichardE | 7:e72691603fd3 | 5 | * |
RichardE | 7:e72691603fd3 | 6 | */ |
RichardE | 7:e72691603fd3 | 7 | |
RichardE | 7:e72691603fd3 | 8 | #include "Animations.h" |
RichardE | 7:e72691603fd3 | 9 | #include "SpriteImageId.h" |
RichardE | 7:e72691603fd3 | 10 | |
RichardE | 7:e72691603fd3 | 11 | const UInt8 Animations::WomanAnimation[] = { Woman0Image, Woman1Image, Woman2Image, Woman1Image }; |
RichardE | 7:e72691603fd3 | 12 | const UInt8 Animations::ManAnimation[] = { Man0Image, Man1Image, Man2Image, Man1Image }; |
RichardE | 7:e72691603fd3 | 13 | |
RichardE | 7:e72691603fd3 | 14 | // Array containing addresses of all the human animations. |
RichardE | 7:e72691603fd3 | 15 | const UInt8 *Animations::HumanAnimations[ HumanAnimationCount ] = { |
RichardE | 7:e72691603fd3 | 16 | WomanAnimation, |
RichardE | 7:e72691603fd3 | 17 | ManAnimation, |
RichardE | 7:e72691603fd3 | 18 | }; |
RichardE | 7:e72691603fd3 | 19 | |
RichardE | 7:e72691603fd3 | 20 | const UInt8 Animations::CrusherAnimation[] = { Crusher0Image, Crusher1Image, Crusher2Image, Crusher1Image }; |