Progress Report
What You've learned
- Playing a sound reacting to an action by the user
- Loading audio assets of the
AudioSourceasset type - And playing them by spawning the
AudioPlayercomponent - Controlling playback settings with the
PlaybackSettingscomponent
- Loading audio assets of the
- How events work
- With
App::add_eventto register an event - Then
EventWriterto send events - And
EventReaderto iterate on them
- With
- Playing a background music
Going Further
This workshop uses wav files as they are easier to generate from tools. In a released game, I would recommend another format, mostly ogg, as it has better compression.