Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Game Development How to Make a Video Game Game Audio Add Background Sound and Music

Jonathan Grieve
Jonathan Grieve
Treehouse Moderator 90,705 Points

Is it not better that the sound loops back?

Just a quick question,

Obviously it's good that we're taught these concepts but we've all played games where the sound of the level music loops back to the start every time our character is killed which is what happens all the time in our frog game.

Why wouldn't we allow the music to restart every time we play again? Is it personal preference?

2 Answers

Personal preference, yes. Looking back at early video games such as Pac Man, the sound started when the quarter was placed in the machine. Most game consoles sound started when the game started. I don't really remember when sound looped when the game was not being played.

Jack Beauchamp
Jack Beauchamp
2,411 Points

I would have to say it is just personal preference