-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating
Learning Libgdx Game Development
Let us now add some music and sound effects to our game. First, we need to know what audio files are needed and then copy them to our assets folder.
All assets shown and discussed in this book, including any other project files, can be downloaded from Packt's website at http://www.packtpub.com/learning-libgdx-game-development/book.
The following tables contain descriptions of each audio file and their function in Canyon Bunny:
Sounds (generated with bfxr):
|
Filename |
Event |
|---|---|
|
|
When player jumps |
|
|
When player jumps in mid-air (requires active feather power-up) |
|
|
When player picks up a gold coin |
|
|
When player picks up a feather power-up |
|
|
When player loses a life (for example, player falls down into the water) |
Music (provided by Klaus "keith303" Spang):
|
Filename |
Event |
|---|---|
|
|
When application starts (indefinitely looping background... |
Change the font size
Change margin width
Change background colour