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
ArenaConst.cpp@18:70190f956a24, 2013-06-17 (annotated)
- Committer:
- RichardE
- Date:
- Mon Jun 17 15:10:43 2013 +0000
- Revision:
- 18:70190f956a24
- Parent:
- 4:673eb9735d44
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 | 4:673eb9735d44 | 1 | #include "ArenaConst.h" |
RichardE | 4:673eb9735d44 | 2 | #include "GameObject.h" |
RichardE | 4:673eb9735d44 | 3 | |
RichardE | 4:673eb9735d44 | 4 | // Rectangle defining boundaries of arena. |
RichardE | 4:673eb9735d44 | 5 | Rectangle ArenaRectangle( |
RichardE | 4:673eb9735d44 | 6 | GameObject::FromPixel( ARENA_MIN_X ), |
RichardE | 4:673eb9735d44 | 7 | GameObject::FromPixel( ARENA_MIN_Y ), |
RichardE | 4:673eb9735d44 | 8 | GameObject::FromPixel( ARENA_MIN_X + ARENA_WIDTH - 1 ), |
RichardE | 4:673eb9735d44 | 9 | GameObject::FromPixel( ARENA_MIN_Y + ARENA_HEIGHT - 1 ) |
RichardE | 4:673eb9735d44 | 10 | ); |
RichardE | 4:673eb9735d44 | 11 |