God-Machine/Assets/Scripts/UI/hover_audio.gd
Garrett Gunnell 330b73ba1b SFX
2025-08-16 08:57:35 -07:00

10 lines
177 B
GDScript

extends AudioStreamPlayer
func _ready() -> void:
GameMaster.hover_input.connect(play_sound)
func play_sound() -> void:
pitch_scale = randf() * 0.5 + 1.0
playing = true