Game For ECE 2035
Dependencies: mbed wave_player 4DGL-uLCD-SE MMA8452
Diff: graphics.cpp
- Revision:
- 10:e18685911e84
- Parent:
- 9:cbb9cfb1f6c5
- Child:
- 11:6cd02a8539d1
--- a/graphics.cpp Tue Nov 30 00:48:48 2021 +0000 +++ b/graphics.cpp Wed Dec 01 22:07:24 2021 +0000 @@ -156,19 +156,23 @@ uLCD.text_width(2); uLCD.text_height(2); uLCD.color(BLUE); - uLCD.locate(2,1); + uLCD.locate(1,1); uLCD.printf("NASLAND"); uLCD.color(YELLOW); uLCD.locate(2,2); uLCD.printf("QUEST"); - + uLCD.filled_rectangle(31,75,92,80,YELLOW); + uLCD.filled_rectangle(35,70,88,75,RED); + uLCD.filled_rectangle(38,65,85,70,YELLOW); + uLCD.filled_rectangle(42,60,81,65,YELLOW); + uLCD.filled_rectangle(49,55,74,60,YELLOW); uLCD.text_width(1); uLCD.text_height(1); - uLCD.locate(4,13); + uLCD.locate(4,12); uLCD.printf("Press action"); - uLCD.locate(2,14); + uLCD.locate(2,13); uLCD.printf("button to begin"); }