A rouge-like rpg, heavily inspired on the binding of isaac. Running on a FRDM-K64F Mbed board. C++.

Dependencies:   mbed MotionSensor

Revision:
6:104c2506237e
Parent:
5:75b6cb06372a
Child:
7:4aaa37a711a1
--- a/main.cpp	Mon Apr 15 03:05:40 2019 +0000
+++ b/main.cpp	Tue Apr 16 12:30:33 2019 +0000
@@ -22,9 +22,9 @@
         
         lcd.clear();
         lcd.drawSprite(0,0,48,84,(int *)level_map[1]);
-        lcd.drawSpriteTransparent(player_pos[0],player_pos[1]-7,12,6,(int *)player[face][(int)(moving*(counter/10)%4)]);
+        lcd.drawSpriteTransparent(player_pos[0],player_pos[1]-7,12,6,(int *)player[face][(int)(moving*(counter/5)%4)]);
         lcd.refresh();
-        wait_ms(1000/60);
+        wait_ms(1000/20);
         counter++;
         
     }