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

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers SoundEffects.h Source File

SoundEffects.h

00001 #ifndef __SOUNDEFFECTS_H__
00002 #define __SOUNDEFFECTS_H__
00003 #include "SoundBlock.h"
00004 
00005 CREATE_EFFECT(Sound_PlayerJumping)
00006     TONE(100, 20, 500, 2, 16, 0),
00007 END_EFFECT
00008 
00009 CREATE_EFFECT(Sound_PlayerDying)
00010     TONE(10, 1000, 200, 2, 16, 1),
00011     PAUSE(1, 4000),
00012     TONE(10, 1000, 200, -2, 16, 1),
00013 END_EFFECT
00014 
00015 CREATE_EFFECT(Sound_PickupItem)
00016     TONE(1, 2000, 400, 0, 128, 0),
00017     TONE(1, 2000, 400, 0, 16, 0),
00018     TONE(1, 2000, 600, 0, 128, 0),
00019     TONE(1, 2000, 600, 0, 16, 0),
00020     TONE(1, 2000, 800, 0, 128, 0),
00021     TONE(1, 2000, 800, 0, 16, 0),
00022 END_EFFECT
00023 
00024 CREATE_EFFECT(Sound_NewScreen)
00025     TONE(4, 1000, 500, 100, 128, 1),
00026     TONE(4, 1000, 500, 100, 64, 0),
00027     TONE(4, 1000, 500, 100, 16, 0),
00028 END_EFFECT
00029 
00030 CREATE_EFFECT(Sound_GameOver)
00031     TONE(10, 400, 400, -20, 128, 0),
00032     PAUSE(10, 400),
00033     TONE(10, 400, 350, -20, 96, 0),
00034     PAUSE(10, 400),
00035     TONE(10, 400, 300, -20, 64, 0),
00036     PAUSE(10, 400),
00037     TONE(10, 400, 250, -20, 32, 0),
00038     PAUSE(10, 400),
00039     TONE(10, 400, 200, -20, 16, 0),    
00040 END_EFFECT
00041 
00042 #endif //__SOUNDEFFECTS_H__