CHAPTER 10

image

Making Things Go Boom

Sound is an essential component of any game as it gives instant feedback from the virtual world. If you were to play a game with the audio turned down, you would likely find it a very passive experience because we expect events to be accompanied by sound.

Like other aspects of creating a game, good sound effects require a lot of creativity. Selecting an appropriate set of sound effects for in-game action can make the difference between the visuals working or completely failing to impress.

This chapter explores the Pygame modules you can use to add sound effects and music to your game. We will also cover how to ...

Get Beginning Python Games Development : With Pygame, Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.