Game For ECE 2035

Dependencies:   mbed wave_player 4DGL-uLCD-SE MMA8452

Revision:
9:cbb9cfb1f6c5
Parent:
7:862062ffca62
Child:
10:e18685911e84
--- a/graphics.cpp	Sat Nov 20 03:57:56 2021 +0000
+++ b/graphics.cpp	Tue Nov 30 00:48:48 2021 +0000
@@ -30,6 +30,7 @@
 
 #define YELLOW 0xFFFF00
 #define BROWN  0xD2691E
+#define BLUE   0x0000FF
 #define DIRT   BROWN
 void draw_img(int u, int v, const char* img)
 {
@@ -151,5 +152,23 @@
     uLCD.filled_rectangle(124,  14, 127, 117, WHITE); // Right
 }
 
+void draw_start(){
+    uLCD.text_width(2);
+    uLCD.text_height(2);    
+    uLCD.color(BLUE);
+    uLCD.locate(2,1);
+    uLCD.printf("NASLAND");
+    uLCD.color(YELLOW);
+    uLCD.locate(2,2);
+    uLCD.printf("QUEST");
     
     
+    
+    
+    uLCD.text_width(1);
+    uLCD.text_height(1);
+    uLCD.locate(4,13);
+    uLCD.printf("Press action");
+    uLCD.locate(2,14);
+    uLCD.printf("button to begin");
+    }