Platform game written for the GHI/OutrageousCircuits RETRO game device. Navigate the caves collecting all the pickups and avoiding the creatures and haunted mine carts that patrol the caves. Oh and remember to watch out for the poisonous plants... This game demonstrates the ability to have multiple animated sprites where the sprites can overlap the background environment. See how the player moves past the fence and climbs the wall in the 3rd screen.

Dependencies:   mbed

Revision:
1:ecf7bbccddc1
Parent:
0:2ee0812e2615
Child:
2:97d01ba6cd91
--- a/Player.h	Sat Nov 29 06:40:50 2014 +0000
+++ b/Player.h	Sat Nov 29 08:36:45 2014 +0000
@@ -13,10 +13,6 @@
 
     virtual void update()
     {
-        char buffer[20];
-        sprintf(buffer, "%d  ", _state);
-        Game::Screen.drawString(font_ibm, 0, 0, buffer);
-        
         if (_state == Stopped) _jumpX = 0;
         
         if (_state != Jumping && _state != Falling)
@@ -49,6 +45,7 @@
                 {
                     if (_jumpX < 0) { moveLeft(); animate(); }
                     else if (_jumpX > 0) { moveRight(); animate(); }
+                    --_jumpY;
                 }
             }
             else
@@ -75,6 +72,6 @@
     
 private:
     State   _state;
-    uint8_t _jumpY; 
+    int8_t _jumpY; 
     int8_t  _jumpX;   
 };
\ No newline at end of file