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:
28:a2dac56af32f
Parent:
23:56f6a12aaebd
--- a/player.cpp	Wed Apr 28 03:12:39 2021 +0000
+++ b/player.cpp	Wed Apr 28 15:21:44 2021 +0000
@@ -27,6 +27,7 @@
 }
 */
 
+// draw the player as a nicer looking sprite (closer to original game). Draw the sprite with the appropriately colored pixels.
 void draw_player_object(int blk_x, int blk_y, int player_color, int p_width, int p_height)
 {
     char* colors;
@@ -69,7 +70,7 @@
     //g->player_height = 8;
     //g->player_width = 8;
     g->player_height = 8;
-    g->player_width = 13;
+    g->player_width = 13; // change width of player to 13 for a nicer looking sprite
     g->status = PLAYER_ALIVE;
 }