Space invaders with a nRF2401A wireless joypad

Dependencies:   Gameduino mbed nRF2401A

Fork of Gameduino_Invaders_game by Chris Dick

Gameduino and an nRF2401A hooked up to an mbed on an mbeduino:

/media/uploads/TheChrisyd/2014-03-08_22.53.54.jpg

Committer:
TheChrisyd
Date:
Sat Sep 29 13:01:42 2012 +0000
Revision:
1:f44175dd69fd
Parent:
0:8a7c58553b44
Child:
2:20a89dc286d5
saved progress

Who changed what in which revision?

UserRevisionLine numberNew contents of line
TheChrisyd 1:f44175dd69fd 1 /*------------------------------------------------------------------
TheChrisyd 1:f44175dd69fd 2 Game sounds
TheChrisyd 1:f44175dd69fd 3 ------------------------------------------------------------------*/
TheChrisyd 1:f44175dd69fd 4 // Where to put the sample playback buffer
TheChrisyd 1:f44175dd69fd 5 static const unsigned int samplePlaybackBuffer = 0x7f00;
TheChrisyd 1:f44175dd69fd 6
TheChrisyd 1:f44175dd69fd 7 // Reset all sounds
TheChrisyd 1:f44175dd69fd 8 void resetGameSounds();
TheChrisyd 1:f44175dd69fd 9
TheChrisyd 1:f44175dd69fd 10 // Update all sounds
TheChrisyd 1:f44175dd69fd 11 void updateGameSounds();
TheChrisyd 1:f44175dd69fd 12
TheChrisyd 1:f44175dd69fd 13 // Set these flags to true to play the corresponding sound
TheChrisyd 1:f44175dd69fd 14 extern bool playerShootSound;
TheChrisyd 1:f44175dd69fd 15 extern bool alienDeathSound;
TheChrisyd 1:f44175dd69fd 16 extern bool playerDeathSound;
TheChrisyd 1:f44175dd69fd 17 extern bool alienBeatSound;
TheChrisyd 1:f44175dd69fd 18 extern bool saucerSound,stopSaucerSnd,saucerDieSound;