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:
9:34008d8b1cdf
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/RetroGameEngine/GameInput.h	Sun Jan 11 02:53:03 2015 +0000
@@ -0,0 +1,23 @@
+#ifndef __GAMEINPUT_H__
+#define __GAMEINPUT_H__
+
+class GameInput
+{
+    private:
+        static DigitalIn _up;
+        static DigitalIn _down;
+        static DigitalIn _left;
+        static DigitalIn _right;
+        static DigitalIn _square;
+        static DigitalIn _circle;
+    
+    public:
+        static inline bool isUpPressed() { return !_up; }
+        static inline bool isDownPressed() { return !_down; }
+        static inline bool isLeftPressed() { return !_left; }
+        static inline bool isRightPressed() { return !_right; }
+        static inline bool isSquarePressed() { return !_square; }
+        static inline bool isCirclePressed() { return !_circle; }
+};
+
+#endif //__GAMEINPUT_H__
\ No newline at end of file