← Devblog

Sound Settings Window

Sound settings window

Redesigned the sound options window with proper volume controls for all audio channels. The new implementation migrates sound settings to JavaScript configuration and improves the binding between UI controls and the audio system.

What Changed

The sound settings window now features individual sliders for five audio channels:

Technical Implementation

The redesign involved moving sound options logic to JavaScript (ui_sound_options_window.js) and refactoring the C++ sound system bindings. This follows the ongoing pattern of migrating UI logic from C++ to JS configs, making the codebase more maintainable and modular.

Key changes include:

Related Work

This continues the architectural improvements from earlier commits that moved game speed controls and other UI elements to JavaScript. The sound system also received updates for mod support and proper ambient sound lifecycle management.