Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tate Patch-2 #24

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Tate Patch-2 #24

wants to merge 1 commit into from

Conversation

sontate72
Copy link

Adds music to the project.

Changes to project folder:
-Added files "song1.wav" and "song2.wav" to the src/sounds folder
-Modified file "victory.wav" to match the music

Changes to ArcadeDemo.java:
-Modified renderFrame() to handle music
-Modified initMusic() to include songs
-Added methods startMusic() and stopMusic()

Changes to Room.java:
-Added method getSong(), which controls which song should play in the room (defaults to 1)

By default, every room will play song 1, but you can change that by overriding the getSong() method. Song 2 is a remix of song 1, so maybe it should be used for longer/more difficult rooms. Or maybe song 1 plays during the first half of the game, and song 2 plays during the second half. Since Mr. Spock may alter the room order in the final project, I'm leaving this part up to him.

-Tate

Adds music to the project.

Changes to project folder:
-Added files "song1.wav" and "song2.wav" to the src/sounds folder
-Modified file "victory.wav" to match the music

Changes to ArcadeDemo.java:
-Modified renderFrame() to handle music
-Modified initMusic() to include songs
-Added methods startMusic() and stopMusic()

Changes to Room.java:
-Added method getSong(), which controls which song should play in the room (defaults to 1)

By default, every room will play song 1, but you can change that by overriding the getSong() method. Song 2 is a remix of song 1, so maybe it should be used for longer/more difficult rooms. Or maybe song 1 plays during the first half of the game, and song 2 plays during the second half. Since Mr. Spock may alter the room order in the final project, I'm leaving this part up to him.

-Tate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant