contains my game for the embedded systems project 2645
Dependencies: mbed FXOS8700CQQQ
Diff: GameSprites/GameSprites.h
- Revision:
- 28:39607fb67e88
- Parent:
- 27:771d186b1bc8
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/GameSprites/GameSprites.h Wed Apr 24 10:19:07 2019 +0000 @@ -0,0 +1,66 @@ +#ifndef GAMESPRITES_H +#define GAMESPRITES_H + +//player sprite to be displayed in the main menu +const int rocketMainMenu[11][9] = { + { 0,0,0,0,1,0,0,0,0 }, + { 0,0,0,1,1,1,0,0,0 }, + { 0,0,1,1,1,1,1,0,0 }, + { 0,1,1,1,1,1,1,1,0 }, + { 0,1,1,1,1,1,1,1,0 }, + { 0,1,1,1,1,1,1,1,0 }, + { 0,0,1,1,1,1,1,0,0 }, + { 0,0,0,1,1,1,0,0,0 }, + { 0,0,0,0,1,0,0,0,0 }, + { 0,0,1,1,1,1,1,0,0 }, + { 0,0,1,1,1,1,1,0,0 }, +}; + +//enemy sprite to be displayed in the main menu +const int enemyMainMenu[11][9] = { + { 0,0,0,0,1,0,0,0,0 }, + { 0,0,0,1,1,1,0,0,0 }, + { 0,0,1,1,1,1,1,0,0 }, + { 0,1,1,1,1,1,1,1,0 }, + { 0,1,1,1,1,1,1,1,0 }, + { 0,1,1,1,1,1,1,1,0 }, + { 1,1,1,1,1,1,1,1,1 }, + { 1,1,1,1,1,1,1,1,1 }, + { 1,1,1,1,1,1,1,1,1 }, + { 1,1,1,1,1,1,1,1,1 }, + { 1,1,1,1,1,1,1,1,1 }, +}; +//in-game enemy sprite +const int enemy[11][9] = { + { 1,1,1,1,0,1,1,1,1 }, + { 1,1,1,0,0,0,1,1,1 }, + { 1,1,0,0,0,0,0,1,1 }, + { 1,0,0,0,0,0,0,0,1 }, + { 1,0,0,0,0,0,0,0,1 }, + { 1,0,0,0,0,0,0,0,1 }, + { 0,0,0,0,0,0,0,0,0 }, + { 0,0,0,0,0,0,0,0,0 }, + { 0,0,0,0,0,0,0,0,0 }, + { 0,0,0,0,0,0,0,0,0 }, + { 0,0,0,0,0,0,0,0,0 }, +}; + +//in-game player sprite +const int rocket[11][9] = { + { 1,1,1,1,0,1,1,1,1 }, + { 1,1,1,0,0,0,1,1,1 }, + { 1,1,0,0,0,0,0,1,1 }, + { 1,0,0,0,0,0,0,0,1 }, + { 1,0,0,0,0,0,0,0,1 }, + { 1,0,0,0,0,0,0,0,1 }, + { 1,1,0,0,0,0,0,1,1 }, + { 1,1,1,0,0,0,1,1,1 }, + { 1,1,1,1,0,1,1,1,1 }, + { 1,1,0,0,0,0,0,1,1 }, + { 1,1,0,0,0,0,0,1,1 }, +}; + + + + +#endif \ No newline at end of file