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:
10:782e4e9c6b47
Parent:
4:45ff7fc8a431
--- a/Assets.h	Sun Jan 11 02:53:03 2015 +0000
+++ b/Assets.h	Sun Jan 11 05:41:45 2015 +0000
@@ -2,43 +2,43 @@
 #define __ASSETS_H__
 
 // Block images
-static const ImageFrame emptyBlock(bmp, 0, 0, 8, 8);
-static const ImageFrame brickBlock(bmp, 16, 48, 8, 8);
-static const ImageFrame meshFenceTopBlock(bmp, 24, 48, 8, 8);
-static const ImageFrame meshFenceBlock(bmp, 32, 48, 8, 8);
-static const ImageFrame platformBlock(bmp, 40, 48, 8, 8);
-static const ImageFrame brickTrimBlock(bmp, 48, 48, 8, 8);
-static const ImageFrame leftLadderBlock(bmp, 16, 56, 8, 8);
-static const ImageFrame rightLadderBlock(bmp, 24, 56, 8, 8);
-static const ImageFrame wallBlock(bmp, 56, 48, 8, 8);
-static const ImageFrame spikeyPlantBlock(bmp, 32, 56, 8, 8);
-static const ImageFrame keyBlock(bmp, 40, 56, 8, 8);
-static const ImageFrame diamondBlock(bmp, 48, 56, 8, 8);
-static const ImageFrame ropeBlock(bmp, 56, 56, 8, 8);
+static const ImageFrame emptyBlock(bmp, 0, 0);
+static const ImageFrame brickBlock(bmp, 16, 48);
+static const ImageFrame meshFenceTopBlock(bmp, 24, 48);
+static const ImageFrame meshFenceBlock(bmp, 32, 48);
+static const ImageFrame platformBlock(bmp, 40, 48);
+static const ImageFrame brickTrimBlock(bmp, 48, 48);
+static const ImageFrame leftLadderBlock(bmp, 16, 56);
+static const ImageFrame rightLadderBlock(bmp, 24, 56);
+static const ImageFrame wallBlock(bmp, 56, 48);
+static const ImageFrame spikeyPlantBlock(bmp, 32, 56);
+static const ImageFrame keyBlock(bmp, 40, 56);
+static const ImageFrame diamondBlock(bmp, 48, 56);
+static const ImageFrame ropeBlock(bmp, 56, 56);
 
 
 // Sprite images
-static const ImageFrame playerWalk1(bmp, 0, 0, 16, 16);
-static const ImageFrame playerWalk2(bmp, 16, 0, 16, 16);
-static const ImageFrame playerWalk3(bmp, 32, 0, 16, 16);
-static const ImageFrame playerWalk4(bmp, 48, 0, 16, 16);
+static const ImageFrame playerWalk1(bmp, 0, 0);
+static const ImageFrame playerWalk2(bmp, 16, 0);
+static const ImageFrame playerWalk3(bmp, 32, 0);
+static const ImageFrame playerWalk4(bmp, 48, 0);
 
-static const ImageFrame playerClimb1(bmp, 0, 64, 16, 16);
-static const ImageFrame playerClimb2(bmp, 16, 64, 16, 16);
-static const ImageFrame playerClimb3(bmp, 32, 64, 16, 16);
-static const ImageFrame playerClimb4(bmp, 48, 64, 16, 16);
+static const ImageFrame playerClimb1(bmp, 0, 64);
+static const ImageFrame playerClimb2(bmp, 16, 64);
+static const ImageFrame playerClimb3(bmp, 32, 64);
+static const ImageFrame playerClimb4(bmp, 48, 64);
 
-static const ImageFrame angryBird1(bmp, 0, 16, 16, 16);
-static const ImageFrame angryBird2(bmp, 16, 16, 16, 16);
-static const ImageFrame angryBird3(bmp, 32, 16, 16, 16);
-static const ImageFrame angryBird4(bmp, 48, 16, 16, 16);
+static const ImageFrame angryBird1(bmp, 0, 16);
+static const ImageFrame angryBird2(bmp, 16, 16);
+static const ImageFrame angryBird3(bmp, 32, 16);
+static const ImageFrame angryBird4(bmp, 48, 16);
 
-static const ImageFrame mineCart1(bmp, 0, 32, 16, 16);
-static const ImageFrame mineCart2(bmp, 16, 32, 16, 16);
-static const ImageFrame mineCart3(bmp, 32, 32, 16, 16);
-static const ImageFrame mineCart4(bmp, 48, 32, 16, 16);
+static const ImageFrame mineCart1(bmp, 0, 32);
+static const ImageFrame mineCart2(bmp, 16, 32);
+static const ImageFrame mineCart3(bmp, 32, 32);
+static const ImageFrame mineCart4(bmp, 48, 32);
 
-static const ImageFrame bubble1(bmp, 0, 48, 16, 16);
+static const ImageFrame bubble1(bmp, 0, 48);
 
 // Blocks
 const Block blocks[] =