-
Book Overview & Buying
-
Table Of Contents
Game Development with Godot 4 and C#
By :
So far, we have a player, a world, and the beginning of a UI for our users to interact with. Now, we’re going to make our game come alive with audio.
Both music and sound effects play a crucial role in games. Music can set the tone of an environment, let you know when you’re in danger, or shift the narrative in a specific direction. Sound effects can have a similar result – adding footsteps when your player moves, providing button feedback when you hover or click on a piece of UI, or adding sounds when your player moves through the world (e.g., climbing through a window, scaring birds, or hearing a gunshot). The immersion that audio adds is a big one, and it’s not an area to be overlooked.
In this chapter, we’ll be covering audio, specifically adding music and sound effects to our game. We’ll be exploring the specific nodes Godot has for audio, as well as understanding the audio bus system in Godot. After...