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:
4:45ff7fc8a431
Added a 4th game screen

Who changed what in which revision?

UserRevisionLine numberNew contents of line
taylorza 4:45ff7fc8a431 1 #ifndef __SOUNDEFFECTS_H__
taylorza 4:45ff7fc8a431 2 #define __SOUNDEFFECTS_H__
taylorza 4:45ff7fc8a431 3 #include "SoundBlock.h"
taylorza 4:45ff7fc8a431 4
taylorza 4:45ff7fc8a431 5 CREATE_EFFECT(Sound_PlayerJumping)
taylorza 4:45ff7fc8a431 6 TONE(100, 20, 500, 2, 16, 0),
taylorza 4:45ff7fc8a431 7 END_EFFECT
taylorza 4:45ff7fc8a431 8
taylorza 4:45ff7fc8a431 9 CREATE_EFFECT(Sound_PlayerDying)
taylorza 4:45ff7fc8a431 10 TONE(10, 1000, 200, 2, 16, 1),
taylorza 4:45ff7fc8a431 11 PAUSE(1, 4000),
taylorza 4:45ff7fc8a431 12 TONE(10, 1000, 200, -2, 16, 1),
taylorza 4:45ff7fc8a431 13 END_EFFECT
taylorza 4:45ff7fc8a431 14
taylorza 4:45ff7fc8a431 15 CREATE_EFFECT(Sound_PickupItem)
taylorza 4:45ff7fc8a431 16 TONE(1, 2000, 400, 0, 128, 0),
taylorza 4:45ff7fc8a431 17 TONE(1, 2000, 400, 0, 16, 0),
taylorza 4:45ff7fc8a431 18 TONE(1, 2000, 600, 0, 128, 0),
taylorza 4:45ff7fc8a431 19 TONE(1, 2000, 600, 0, 16, 0),
taylorza 4:45ff7fc8a431 20 TONE(1, 2000, 800, 0, 128, 0),
taylorza 4:45ff7fc8a431 21 TONE(1, 2000, 800, 0, 16, 0),
taylorza 4:45ff7fc8a431 22 END_EFFECT
taylorza 4:45ff7fc8a431 23
taylorza 4:45ff7fc8a431 24 CREATE_EFFECT(Sound_NewScreen)
taylorza 4:45ff7fc8a431 25 TONE(4, 1000, 500, 100, 128, 1),
taylorza 4:45ff7fc8a431 26 TONE(4, 1000, 500, 100, 64, 0),
taylorza 4:45ff7fc8a431 27 TONE(4, 1000, 500, 100, 16, 0),
taylorza 4:45ff7fc8a431 28 END_EFFECT
taylorza 4:45ff7fc8a431 29
taylorza 4:45ff7fc8a431 30 CREATE_EFFECT(Sound_GameOver)
taylorza 4:45ff7fc8a431 31 TONE(10, 400, 400, -20, 128, 0),
taylorza 4:45ff7fc8a431 32 PAUSE(10, 400),
taylorza 4:45ff7fc8a431 33 TONE(10, 400, 350, -20, 96, 0),
taylorza 4:45ff7fc8a431 34 PAUSE(10, 400),
taylorza 4:45ff7fc8a431 35 TONE(10, 400, 300, -20, 64, 0),
taylorza 4:45ff7fc8a431 36 PAUSE(10, 400),
taylorza 4:45ff7fc8a431 37 TONE(10, 400, 250, -20, 32, 0),
taylorza 4:45ff7fc8a431 38 PAUSE(10, 400),
taylorza 4:45ff7fc8a431 39 TONE(10, 400, 200, -20, 16, 0),
taylorza 4:45ff7fc8a431 40 END_EFFECT
taylorza 4:45ff7fc8a431 41
taylorza 4:45ff7fc8a431 42 #endif //__SOUNDEFFECTS_H__