Game Development Reference
In-Depth Information
Note Connecting the volume sliders with actual audio volumes will be done in
the upcoming audio chapter.
Summary
You now have a nicely animated main menu with a functional settings menu. The volume
values are persistently stored by the GameState class, which will be enhanced in the
next chapter to store unlocked levels as well.
You also learned about structuring code in the process, as well as how to turn any node in-
to a button and how to forward button events to classes that actually need to handle the
event.
You can find the current state of the project in the 08 - Main Menu and Settings folder.
Search WWH ::




Custom Search