User Tools

Site Tools


milestone_5

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

milestone_5 [2023/03/27 10:16]
scott [Making Sound]
milestone_5 [2023/03/27 10:30] (current)
scott [Code Submission]
Line 29: Line 29:
 ==== Making Sound ==== ==== Making Sound ====
  
-You are provided working sound code and sound data. All sound data are contained ​in the sounds ​subdirectory ​of the lasertag directory. While coding this milestone, you need to add calls to the sound functions so that sounds are correctly activated ​during game play.+You are provided working sound code and sound data in the sound subdirectory. While coding this milestone, you need to add calls to these sound functions so that various ​sounds are made during game play.
  
 Please read the comments and the sound_runTest() function in sound.c to see how to use the sound code (it is straightforward). ​ Please read the comments and the sound_runTest() function in sound.c to see how to use the sound code (it is straightforward). ​
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]].
  
milestone_5.1679933786.txt.gz ยท Last modified: 2023/03/27 10:16 by scott