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:
12:1394b0c6e8b0
Parent:
5:a758c7d4da03
Child:
13:0900880bde68
--- a/OneBitSound/SoundChannel.cpp	Sun Feb 01 00:43:09 2015 +0000
+++ b/OneBitSound/SoundChannel.cpp	Sun Feb 08 01:37:38 2015 +0000
@@ -156,7 +156,7 @@
     if (_currentSoundBlock.getToneType() == SoundBlock::Noise)
         pitch = fix16_div(pitch, fix16_100);
         
-    _basePitchHighCount = fix16_mul(pitch, g_dutyLookup[_currentSoundBlock.getDuty(_dutyOffset)]);
+    _basePitchHighCount = fix16_mul(pitch, _currentSoundBlock.getDuty(_dutyOffset) * 0x100);
     _basePitchLowCount = pitch - _basePitchHighCount;    
 }