Skip to content

Sound system #31

@robinwils

Description

@robinwils

Description

Add sound effects and potentially music to the game. Covers tower attacks, creep deaths, UI interactions, and ambient sounds. Key design decisions needed: audio library choice (OpenAL, FMOD, miniaudio, SoLoud), whether to support 3D positional audio or simple stereo, and music system scope (looping tracks, crossfading).

Steps

  • Choose and integrate audio library (add to vcpkg), create AudioSystem (FrameSystem) and SoundEmitter component
  • Implement sound playback for game events (tower fire, creep death, tower built, wave start)
  • Implement UI sounds (button clicks, placement mode enter/exit)
  • Add volume controls (master, SFX, music)
  • Optional: background music with crossfading and 3D positional audio based on camera position

Metadata

Metadata

Assignees

No one assigned

    Labels

    audioSound and music

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions