Maaack's UI Sound Controller

by Maaack

7

Godot UI Sound Controller

For Godot 4.4 (4.3+ compatible)

This script and autoload automatically attaches sounds to buttons, tab bars, sliders, and line edits.

Example on itch.io
Example is of Maaack's Game Template, which includes additional features.

Use Case

For adding SFX to all your project's UI elements from one node.

Maaack's Game Template is recommended for first time users, especially those new to Godot.

Features

  • Centralizes control of SFX for buttons, tab bars, sliders, and line edits.
  • Automatically detects supported UI nodes added to scenes, and attaches sounds.
  • Works as a script attached to a node in a scene, or as the project's autoload.

How it Works

  • The UISoundController node automatically attaches sounds to buttons, tab bars, sliders, and line edits in the scene. ProjectUISoundController.tscn is an autload used to apply UI sounds project-wide.

Extras or Components

Users that want additional features can try Maaack's Game Template or other options from the plugin suite.

Installation

Godot Asset Library

This package is available as a plugin, meaning it can be added to an existing project.

Package Icon

When editing an existing project:

  1. Go to the AssetLib tab.
  2. Search for "Maaack's UI Sound Controller".
  3. Click on the result to open the plugin details.
  4. Click to Download.
  5. Check that contents are getting installed to addons/ and there are no conflicts.
  6. Click to Install.
  7. Reload the project (you may see errors before you do this).
  8. Enable the plugin from the Project Settings > Plugins tab.

GitHub

  1. Download the latest release version from GitHub.
  2. Extract the contents of the archive.
  3. Move the addons/maaacks_ui_sound_controller folder into your project's addons/ folder.
  4. Open/Reload the project.
  5. Enable the plugin from the Project Settings > Plugins tab.

Usage

Attach the UISoundController.gd script to a node that is in your UI scene, under the root node. Select the node, and assign your audio streams to the various supported UI events.

Alternatively, open ProjectUISoundController.tscn, select the root node, and assign audio streams to UI events project-wide.

More Documentation

Automatic Updating


Featured Games

Spud Customs Rent Seek Kill A Darkness Like Gravity
Spud Customs Rent-Seek-Kill A Darkness Like Gravity
Find on Steam Play on itch.io Play on itch.io

All Shared Games

Community

Join the Discord server and share your work with others. It's also a space for getting or giving feedback, and asking for help.

Links

Attribution
License
Godot Asset Library

Version

0.22.0

Engine

4.2

Category

Scripts

Download

Version0.22.0
Download Now

Support

If you need help or have questions about this plugin, please contact the author.

Contact Author