Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed FXOS8700CQQQ
GameSprites.h
00001 #ifndef GAMESPRITES_H 00002 #define GAMESPRITES_H 00003 00004 //player sprite to be displayed in the main menu 00005 const int rocketMainMenu[11][9] = { 00006 { 0,0,0,0,1,0,0,0,0 }, 00007 { 0,0,0,1,1,1,0,0,0 }, 00008 { 0,0,1,1,1,1,1,0,0 }, 00009 { 0,1,1,1,1,1,1,1,0 }, 00010 { 0,1,1,1,1,1,1,1,0 }, 00011 { 0,1,1,1,1,1,1,1,0 }, 00012 { 0,0,1,1,1,1,1,0,0 }, 00013 { 0,0,0,1,1,1,0,0,0 }, 00014 { 0,0,0,0,1,0,0,0,0 }, 00015 { 0,0,1,1,1,1,1,0,0 }, 00016 { 0,0,1,1,1,1,1,0,0 }, 00017 }; 00018 00019 //enemy sprite to be displayed in the main menu 00020 const int enemyMainMenu[11][9] = { 00021 { 0,0,0,0,1,0,0,0,0 }, 00022 { 0,0,0,1,1,1,0,0,0 }, 00023 { 0,0,1,1,1,1,1,0,0 }, 00024 { 0,1,1,1,1,1,1,1,0 }, 00025 { 0,1,1,1,1,1,1,1,0 }, 00026 { 0,1,1,1,1,1,1,1,0 }, 00027 { 1,1,1,1,1,1,1,1,1 }, 00028 { 1,1,1,1,1,1,1,1,1 }, 00029 { 1,1,1,1,1,1,1,1,1 }, 00030 { 1,1,1,1,1,1,1,1,1 }, 00031 { 1,1,1,1,1,1,1,1,1 }, 00032 }; 00033 //in-game enemy sprite 00034 const int enemy[11][9] = { 00035 { 1,1,1,1,0,1,1,1,1 }, 00036 { 1,1,1,0,0,0,1,1,1 }, 00037 { 1,1,0,0,0,0,0,1,1 }, 00038 { 1,0,0,0,0,0,0,0,1 }, 00039 { 1,0,0,0,0,0,0,0,1 }, 00040 { 1,0,0,0,0,0,0,0,1 }, 00041 { 0,0,0,0,0,0,0,0,0 }, 00042 { 0,0,0,0,0,0,0,0,0 }, 00043 { 0,0,0,0,0,0,0,0,0 }, 00044 { 0,0,0,0,0,0,0,0,0 }, 00045 { 0,0,0,0,0,0,0,0,0 }, 00046 }; 00047 00048 //in-game player sprite 00049 const int rocket[11][9] = { 00050 { 1,1,1,1,0,1,1,1,1 }, 00051 { 1,1,1,0,0,0,1,1,1 }, 00052 { 1,1,0,0,0,0,0,1,1 }, 00053 { 1,0,0,0,0,0,0,0,1 }, 00054 { 1,0,0,0,0,0,0,0,1 }, 00055 { 1,0,0,0,0,0,0,0,1 }, 00056 { 1,1,0,0,0,0,0,1,1 }, 00057 { 1,1,1,0,0,0,1,1,1 }, 00058 { 1,1,1,1,0,1,1,1,1 }, 00059 { 1,1,0,0,0,0,0,1,1 }, 00060 { 1,1,0,0,0,0,0,1,1 }, 00061 }; 00062 00063 00064 00065 00066 #endif
Generated on Mon Jul 18 2022 07:45:10 by
1.7.2