Still planning to add the main menu music as part of this PR, but want to get the code reviewed in the meantime.
EDIT: Main menu music added as well as another level song
Changes:
Added background music for planet level and sound FX when player takes damage
Created sound_manager.gd autoload script to make handling BGM and SFX simple from elsewhere in the code
Created bgm_selector.tscn component to handle what Background Music should be playing within a scene
Added AudioListener2D component to player scene so that it hears the SFX positionally
Still planning to add the main menu music as part of this PR, but want to get the code reviewed in the meantime.EDIT: Main menu music added as well as another level songChanges:
sound_manager.gd
autoload script to make handling BGM and SFX simple from elsewhere in the codebgm_selector.tscn
component to handle what Background Music should be playing within a scene