This shows you the differences between two versions of the page.
milestone_5 [2023/03/27 10:24] scott [Making Sound] |
milestone_5 [2023/03/27 10:30] (current) scott [Code Submission] |
||
---|---|---|---|
Line 37: | Line 37: | ||
WARNING!!! WHEN SET TO ITS MAXIMUM VALUE, THE SOUND VOLUME MAY DAMAGE YOUR HEARING IF YOU PLUG EARPHONES INTO THE ZYBO BOARD. Volume can be controlled by using the function 'sound_setVolume()', found in the sound.c file. Please read sound.c for more detail on how to use this function. | WARNING!!! WHEN SET TO ITS MAXIMUM VALUE, THE SOUND VOLUME MAY DAMAGE YOUR HEARING IF YOU PLUG EARPHONES INTO THE ZYBO BOARD. Volume can be controlled by using the function 'sound_setVolume()', found in the sound.c file. Please read sound.c for more detail on how to use this function. | ||
- | ==== Videos ==== | + | === Videos === |
These videos demonstrate when sounds should be played and also show more detailed behavior of the game. | These videos demonstrate when sounds should be played and also show more detailed behavior of the game. | ||
Line 80: | Line 80: | ||
- A Pacman "game over" sound is played once a player has lost all lives. | - A Pacman "game over" sound is played once a player has lost all lives. | ||
- A voice will inform a player when they must drop from the game and "return to base." This voice sound will be infinitely repeated, alternated with 1 second of silence. | - A voice will inform a player when they must drop from the game and "return to base." This voice sound will be infinitely repeated, alternated with 1 second of silence. | ||
- | |||
- | These videos demonstrate when sounds should be played and also show more detailed behavior of the game. | ||
- | - [[https://youtu.be/klppe7oTng4|Sounds related to the gun, how the clip works, reloading, etc.]] | ||
- | - [[https://youtu.be/IDhDzBggeeo|Sounds made when hit by an opponent.]] | ||
- | - [[https://youtu.be/TV2oLZurPTU|Sounds that occur at the end of the game.]] | ||
---- | ---- | ||
Line 152: | Line 147: | ||
===== Code Submission ===== | ===== Code Submission ===== | ||
- | Assuming you added your code to runningModes2.c, you will use ''./check_and_zip.py 390m5'' to prepare your zip file for submission to Learning Suite. It will be checked for adherence to the [[http://byu-cpe.github.io/ecen330/other/coding-standard/|coding standard]]. | + | You will use ''./check_and_zip.py 390m5'' to prepare your zip file for submission to Learning Suite. It will be checked for adherence to the [[http://byu-cpe.github.io/ecen330/other/coding-standard/|coding standard]]. |