Game For ECE 2035

Dependencies:   mbed wave_player 4DGL-uLCD-SE MMA8452

Revision:
12:116a4cc85b16
Parent:
11:6cd02a8539d1
Child:
13:798a4dd14c7e
diff -r 6cd02a8539d1 -r 116a4cc85b16 actions.cpp
--- a/actions.cpp	Thu Dec 02 06:24:22 2021 +0000
+++ b/actions.cpp	Thu Dec 02 16:58:38 2021 +0000
@@ -188,7 +188,7 @@
 void init_dung()
 {
     Map* dung = set_active_map(1);
-    for(int i = map_width() + 7; i < map_area(); i += 39) {
+    for(int i = map_width() + 7; i < map_area(); i += 23) {
         add_chest(i % map_width(), i / map_width());
     }
     pc.printf("plants\r\n");
@@ -201,7 +201,7 @@
     pc.printf("Walls done!\r\n");
 
 
-    add_portal2(15,21);
+    add_portal2(10,2);
 
     add_dragon(18,9);