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:
Fri Jan 02 01:55:12 2015 +0000
Revision:
5:a758c7d4da03
Tweaked graphics

Who changed what in which revision?

UserRevisionLine numberNew contents of line
taylorza 5:a758c7d4da03 1 #ifndef __ONEBITSOUND_H__
taylorza 5:a758c7d4da03 2 #define __ONEBITSOUND_H__
taylorza 5:a758c7d4da03 3 class OneBitSound
taylorza 5:a758c7d4da03 4 {
taylorza 5:a758c7d4da03 5 public:
taylorza 5:a758c7d4da03 6 OneBitSound(PinName pin);
taylorza 5:a758c7d4da03 7
taylorza 5:a758c7d4da03 8 void play(uint8_t channel, const SoundBlock soundBlocks[], int count);
taylorza 5:a758c7d4da03 9
taylorza 5:a758c7d4da03 10 public:
taylorza 5:a758c7d4da03 11 void update(int elapsedTime);
taylorza 5:a758c7d4da03 12
taylorza 5:a758c7d4da03 13 private:
taylorza 5:a758c7d4da03 14 DigitalOut _soundPin;
taylorza 5:a758c7d4da03 15 bool _lastPinState;
taylorza 5:a758c7d4da03 16 SoundChannel _channels[4];
taylorza 5:a758c7d4da03 17 int _totalElapsed;
taylorza 5:a758c7d4da03 18 };
taylorza 5:a758c7d4da03 19 #endif //__ONEBITSOUND_H__