Updated Space Invaders on the mbed. Improved upon Michael Son's "Mbed Space Invaders" at https://os.mbed.com/users/michaeljson/notebook/mbed-space-invaders/.

Dependencies:   mbed wave_player mbed-rtos 4DGL-uLCD-SE SparkfunAnalogJoystick SDFileSystem LSM9DS1_Library_cal_updated

Fork of Two-PlayerSpaceInvaders by William Minix

test

Revision:
23:56f6a12aaebd
Parent:
0:3817adfaeb06
--- a/globals.h	Sun Apr 25 21:12:30 2021 +0000
+++ b/globals.h	Mon Apr 26 21:53:25 2021 +0000
@@ -12,4 +12,14 @@
 // === [global settings] ===
 #define BACKGROUND_COLOR 0x000000
 
+#define GREEN 0x00FF00
+#define BLUE 0x0000FF
+#define PINK 0xFFC0CB
+#define PURPLE 0x800080
+#define YELLOW 0xFFFF00
+#define RED 0xFF0000
+
+// Modified from the RPG Game from ECE 2035. Draw more complex player object (with changing color).
+void draw_img(int u, int v, int width, int height, const char* img);
+
 #endif //GLOBAL_H
\ No newline at end of file