![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
contains my game for the embedded systems project 2645
Dependencies: mbed FXOS8700CQQQ
GameSprites/GameSprites.h
- Committer:
- OmarAlebiary
- Date:
- 2019-05-07
- Revision:
- 40:13b8467526d0
- Parent:
- 28:39607fb67e88
File content as of revision 40:13b8467526d0:
#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