Abstract
In this chapter, you will learn how to add audio elements—sound effects and background music—to your game. First, you will be introduced to these topics by adding these features to the Starfish Collector game that you have been working on in previous chapters. Then, in an optional section, you will build on these skills with a musical rhythm-based game, called Rhythm Tapper, in which the player presses a sequence of keys indicated by falling objects overlapping targets, all of which is synchronized with music playing in the background. A screenshot of Rhythm Tapper is shown in Figure 6-1.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
The website incompetech.com has a great selection of music freely available to download and released under the Creative Commons Attribution 3.0 license.
- 2.
The website audionautix.com has a great selection of music freely available to download and released under the Creative Commons Attribution 3.0 license.
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2018 Lee Stemkoski
About this chapter
Cite this chapter
Stemkoski, L. (2018). Audio. In: Java Game Development with LibGDX. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-3324-5_6
Download citation
DOI: https://doi.org/10.1007/978-1-4842-3324-5_6
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-3323-8
Online ISBN: 978-1-4842-3324-5
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)