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

Committer:
taylorza
Date:
Mon Feb 16 03:46:57 2015 +0000
Revision:
16:f9227904afc4
Parent:
14:b4884a31069e
Added a 4th game screen

Who changed what in which revision?

UserRevisionLine numberNew contents of line
taylorza 11:9ae9a88a1da8 1 #ifndef __POINT_H__
taylorza 9:34008d8b1cdf 2 #define __POINT_H__
taylorza 9:34008d8b1cdf 3 struct Point
taylorza 9:34008d8b1cdf 4 {
taylorza 9:34008d8b1cdf 5 uint8_t X;
taylorza 9:34008d8b1cdf 6 uint8_t Y;
taylorza 14:b4884a31069e 7
taylorza 9:34008d8b1cdf 8 Point() :
taylorza 9:34008d8b1cdf 9 X(0),
taylorza 9:34008d8b1cdf 10 Y(0)
taylorza 9:34008d8b1cdf 11 {
taylorza 9:34008d8b1cdf 12 }
taylorza 9:34008d8b1cdf 13
taylorza 9:34008d8b1cdf 14 Point(uint8_t x, uint8_t y) :
taylorza 9:34008d8b1cdf 15 X(x),
taylorza 9:34008d8b1cdf 16 Y(y)
taylorza 9:34008d8b1cdf 17 {
taylorza 9:34008d8b1cdf 18 }
taylorza 9:34008d8b1cdf 19
taylorza 9:34008d8b1cdf 20 inline bool operator==(const Point &rhs)
taylorza 9:34008d8b1cdf 21 {
taylorza 9:34008d8b1cdf 22 return X == rhs.X && Y == rhs.Y;
taylorza 9:34008d8b1cdf 23 }
taylorza 9:34008d8b1cdf 24
taylorza 9:34008d8b1cdf 25 inline bool operator!=(const Point &rhs)
taylorza 9:34008d8b1cdf 26 {
taylorza 9:34008d8b1cdf 27 return !(*this == rhs);
taylorza 9:34008d8b1cdf 28 }
taylorza 9:34008d8b1cdf 29 };
taylorza 9:34008d8b1cdf 30 #endif //__POINT_H__