![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
contains my game for the embedded systems project 2645
Dependencies: mbed FXOS8700CQQQ
GameSprites/GameSprites.h@28:39607fb67e88, 2019-04-24 (annotated)
- Committer:
- OmarAlebiary
- Date:
- Wed Apr 24 10:19:07 2019 +0000
- Revision:
- 28:39607fb67e88
- Parent:
- Sprites/GameSprites.h@27:771d186b1bc8
added doxygen comments to RocketRacer.h
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
OmarAlebiary | 27:771d186b1bc8 | 1 | #ifndef GAMESPRITES_H |
OmarAlebiary | 27:771d186b1bc8 | 2 | #define GAMESPRITES_H |
OmarAlebiary | 27:771d186b1bc8 | 3 | |
OmarAlebiary | 27:771d186b1bc8 | 4 | //player sprite to be displayed in the main menu |
OmarAlebiary | 27:771d186b1bc8 | 5 | const int rocketMainMenu[11][9] = { |
OmarAlebiary | 27:771d186b1bc8 | 6 | { 0,0,0,0,1,0,0,0,0 }, |
OmarAlebiary | 27:771d186b1bc8 | 7 | { 0,0,0,1,1,1,0,0,0 }, |
OmarAlebiary | 27:771d186b1bc8 | 8 | { 0,0,1,1,1,1,1,0,0 }, |
OmarAlebiary | 27:771d186b1bc8 | 9 | { 0,1,1,1,1,1,1,1,0 }, |
OmarAlebiary | 27:771d186b1bc8 | 10 | { 0,1,1,1,1,1,1,1,0 }, |
OmarAlebiary | 27:771d186b1bc8 | 11 | { 0,1,1,1,1,1,1,1,0 }, |
OmarAlebiary | 27:771d186b1bc8 | 12 | { 0,0,1,1,1,1,1,0,0 }, |
OmarAlebiary | 27:771d186b1bc8 | 13 | { 0,0,0,1,1,1,0,0,0 }, |
OmarAlebiary | 27:771d186b1bc8 | 14 | { 0,0,0,0,1,0,0,0,0 }, |
OmarAlebiary | 27:771d186b1bc8 | 15 | { 0,0,1,1,1,1,1,0,0 }, |
OmarAlebiary | 27:771d186b1bc8 | 16 | { 0,0,1,1,1,1,1,0,0 }, |
OmarAlebiary | 27:771d186b1bc8 | 17 | }; |
OmarAlebiary | 27:771d186b1bc8 | 18 | |
OmarAlebiary | 27:771d186b1bc8 | 19 | //enemy sprite to be displayed in the main menu |
OmarAlebiary | 27:771d186b1bc8 | 20 | const int enemyMainMenu[11][9] = { |
OmarAlebiary | 27:771d186b1bc8 | 21 | { 0,0,0,0,1,0,0,0,0 }, |
OmarAlebiary | 27:771d186b1bc8 | 22 | { 0,0,0,1,1,1,0,0,0 }, |
OmarAlebiary | 27:771d186b1bc8 | 23 | { 0,0,1,1,1,1,1,0,0 }, |
OmarAlebiary | 27:771d186b1bc8 | 24 | { 0,1,1,1,1,1,1,1,0 }, |
OmarAlebiary | 27:771d186b1bc8 | 25 | { 0,1,1,1,1,1,1,1,0 }, |
OmarAlebiary | 27:771d186b1bc8 | 26 | { 0,1,1,1,1,1,1,1,0 }, |
OmarAlebiary | 27:771d186b1bc8 | 27 | { 1,1,1,1,1,1,1,1,1 }, |
OmarAlebiary | 27:771d186b1bc8 | 28 | { 1,1,1,1,1,1,1,1,1 }, |
OmarAlebiary | 27:771d186b1bc8 | 29 | { 1,1,1,1,1,1,1,1,1 }, |
OmarAlebiary | 27:771d186b1bc8 | 30 | { 1,1,1,1,1,1,1,1,1 }, |
OmarAlebiary | 27:771d186b1bc8 | 31 | { 1,1,1,1,1,1,1,1,1 }, |
OmarAlebiary | 27:771d186b1bc8 | 32 | }; |
OmarAlebiary | 27:771d186b1bc8 | 33 | //in-game enemy sprite |
OmarAlebiary | 27:771d186b1bc8 | 34 | const int enemy[11][9] = { |
OmarAlebiary | 27:771d186b1bc8 | 35 | { 1,1,1,1,0,1,1,1,1 }, |
OmarAlebiary | 27:771d186b1bc8 | 36 | { 1,1,1,0,0,0,1,1,1 }, |
OmarAlebiary | 27:771d186b1bc8 | 37 | { 1,1,0,0,0,0,0,1,1 }, |
OmarAlebiary | 27:771d186b1bc8 | 38 | { 1,0,0,0,0,0,0,0,1 }, |
OmarAlebiary | 27:771d186b1bc8 | 39 | { 1,0,0,0,0,0,0,0,1 }, |
OmarAlebiary | 27:771d186b1bc8 | 40 | { 1,0,0,0,0,0,0,0,1 }, |
OmarAlebiary | 27:771d186b1bc8 | 41 | { 0,0,0,0,0,0,0,0,0 }, |
OmarAlebiary | 27:771d186b1bc8 | 42 | { 0,0,0,0,0,0,0,0,0 }, |
OmarAlebiary | 27:771d186b1bc8 | 43 | { 0,0,0,0,0,0,0,0,0 }, |
OmarAlebiary | 27:771d186b1bc8 | 44 | { 0,0,0,0,0,0,0,0,0 }, |
OmarAlebiary | 27:771d186b1bc8 | 45 | { 0,0,0,0,0,0,0,0,0 }, |
OmarAlebiary | 27:771d186b1bc8 | 46 | }; |
OmarAlebiary | 27:771d186b1bc8 | 47 | |
OmarAlebiary | 27:771d186b1bc8 | 48 | //in-game player sprite |
OmarAlebiary | 27:771d186b1bc8 | 49 | const int rocket[11][9] = { |
OmarAlebiary | 27:771d186b1bc8 | 50 | { 1,1,1,1,0,1,1,1,1 }, |
OmarAlebiary | 27:771d186b1bc8 | 51 | { 1,1,1,0,0,0,1,1,1 }, |
OmarAlebiary | 27:771d186b1bc8 | 52 | { 1,1,0,0,0,0,0,1,1 }, |
OmarAlebiary | 27:771d186b1bc8 | 53 | { 1,0,0,0,0,0,0,0,1 }, |
OmarAlebiary | 27:771d186b1bc8 | 54 | { 1,0,0,0,0,0,0,0,1 }, |
OmarAlebiary | 27:771d186b1bc8 | 55 | { 1,0,0,0,0,0,0,0,1 }, |
OmarAlebiary | 27:771d186b1bc8 | 56 | { 1,1,0,0,0,0,0,1,1 }, |
OmarAlebiary | 27:771d186b1bc8 | 57 | { 1,1,1,0,0,0,1,1,1 }, |
OmarAlebiary | 27:771d186b1bc8 | 58 | { 1,1,1,1,0,1,1,1,1 }, |
OmarAlebiary | 27:771d186b1bc8 | 59 | { 1,1,0,0,0,0,0,1,1 }, |
OmarAlebiary | 27:771d186b1bc8 | 60 | { 1,1,0,0,0,0,0,1,1 }, |
OmarAlebiary | 27:771d186b1bc8 | 61 | }; |
OmarAlebiary | 27:771d186b1bc8 | 62 | |
OmarAlebiary | 27:771d186b1bc8 | 63 | |
OmarAlebiary | 27:771d186b1bc8 | 64 | |
OmarAlebiary | 27:771d186b1bc8 | 65 | |
OmarAlebiary | 27:771d186b1bc8 | 66 | #endif |