Game Dev Project - Tu Ilmenau
In game mode, every level requires: (A level being a song)
- Extraction of the number of musical notes and their time of occurrence during the song.
- Spawning a group of game objects, where each corresponds to a musical note
- Moving the game objects in space towards their respective instruments in such a way that they arrive according to their specified time of occurrence which was extracted in task 1.
- Handling Score attempts
- Handling Score counter and Combo counter
- Displaying Score counters.
- Music Sync with visuals, music will not play and virtual notes will not move until the player hits the stick 3 times to signal the begining and give the player time to be ready to play.
The following table specifies the name of the script that handles each task.
Task | Script Name |
---|---|
Extraction of notes from .txt file and spawning them. | Instrument + analyze.cs |
Moving The game objects in 3D space. | Instrument + Notes.cs ex: HiHatsNotes |
Handling Score attempts | ScoreManager.cs |
Handling Score counter and Combo counter | ScoreHandler.cs |
Displaying Score Counters | UpdateScoreDisp.cs |
Music Sync with Visuals | SyncMaster.cs |
In jam sessions, the main task is to detect stick hit events with the instruments of the drum and play the sound of each instrument with the sound level being dependent on the strength of the hit from the player. The following table specifies the name of the script that handles each task.
Task | Script Name |
---|---|
Detection of (Stick-Instrument) hit events and playing sound | ReactHat.cs |