Laila Al Badwawi 200906179 SpaceInvaders I declare this my own independent work and understand the university rules on plagiarism.

Dependencies:   mbed

Revision:
91:f9e2ff484014
Parent:
57:45c5de9cefdf
Child:
92:8a1b14488ca5
--- a/main.cpp	Sun Apr 28 15:21:54 2019 +0000
+++ b/main.cpp	Sun Apr 28 19:44:34 2019 +0000
@@ -37,7 +37,7 @@
 };
 
 
-const int Alien[12][10] =   {
+/*const int Alien[12][10] =   {
     { 0,0,0,0,0,1,1,1,0,0 },
     { 0,0,0,0,0,1,1,1,0,0 },
     { 0,0,0,1,1,1,1,0,0,0 },
@@ -69,7 +69,7 @@
     {0,0,0,1,1,0,0,0,0,0,0,0},
 
 };
-
+*/
 
 ///////////// functions ////////////////
 int main()
@@ -118,7 +118,7 @@
     lcd.drawSprite(x_bullet,y_bullet,4,10,(int *)bullet);
     lcd.drawSprite(x_space_ship,y_space_ship,10,12,(int *) space_ship);*/
 
-    if (_d2==N) {
+    /*if (_d2==N) {
         y=y-2;
     }
 
@@ -142,7 +142,7 @@
 
     if(x_bullet>=x_Alien && y_bullet >=y_Alien && y_bullet <=y_Alien+10) {
         y=0;
-    }
+    }*/
 
     wait(1.0f/fps);