Light-weight and easy-to-use interface for creating sound effects and music systems
- Search "QuickAudio" in the "Asset Library" tab (at the top next to 2D, 3D, and Script) of the Godot editor.
- Add the plugin to your project.
- Download the code from this repository.
- Extract the downloaded archive to your project; resulting files should end up in
res://addons/quick_audio
(Files outside of that folder are not needed) - Go to your Project Settings, select the
See the full demo scripts for sound effects and music.
extends Node3D
@export var music: AudioStream
@export var sound: AudioStream
func _ready():
Audio.play_sound(music)
var time := 0.0
func _process(delta):
time += delta
if time > 1.0:
time -= 1.0
Audio.play_sound_3d(sound).global_position = global_position