ELEC2645 (2019/20)
/
ELEC2645_Project_el18jb
test 1 doc
Sprites/Sprites.h
- Committer:
- joebarhouch
- Date:
- 2020-05-18
- Revision:
- 4:cf5088ace087
- Parent:
- 3:e4e1cbf750b6
- Child:
- 5:928c2eee4109
File content as of revision 4:cf5088ace087:
int s_player[] = { 1,1,1,1,1,1,1,0,0, 1,1,1,1,1,1,1,0,0, 1,1,1,0,1,0,1,0,0, 1,1,1,0,1,0,1,1,1, 1,1,1,0,1,0,1,1,0, 1,1,1,1,1,1,1,0,0, 0,1,1,0,1,1,0,0,0, 0,1,1,0,1,1,0,0,0 }; int s_player_inv[] = { 0,0,1,1,1,1,1,1,1, 0,0,1,1,1,1,1,1,1, 0,0,1,0,1,0,1,1,1, 1,1,1,0,1,0,1,1,1, 0,1,1,0,1,0,1,1,1, 0,1,1,1,1,1,1,1,1, 0,0,0,1,1,0,1,1,0, 0,0,0,1,1,0,1,1,0 }; //maps void draw_map1(N5110 &lcd){ lcd.drawRect(0,11,25,3,FILL_TRANSPARENT); lcd.drawRect(WIDTH - 25,11,25,3,FILL_TRANSPARENT); lcd.drawRect(30,24,25,3,FILL_TRANSPARENT); lcd.drawRect(0,37,25,3,FILL_TRANSPARENT); lcd.drawRect(WIDTH - 25,37,25,3,FILL_TRANSPARENT); };