Simple Simon Discussion > Simon Version 2 Sound
I would like to have a sound playing when a square becomes lit, and that's in doComputerShowingDraw()
Example:
if (square == pattern[showPosition])
{
spriteBatch.Draw(square.SquareTexture, square.SquareRectangle, square.BrightColor);
// TODO: Play sound here
}
I have no clue because I have not messed with the sound stuff at all in XNA yet.... :-[
I would agree it should beep/play a note when the square is lit up. Also once the players input is integrated, as the user presses a key/button to try and repeat the pattern, with a GONG sound (yall do remember the Gong Show right?) if they mess up, lol.



At the moment the game has no sound at all, which is not good. Can you tell me which methods in the game would play sounds if we added them?