mirror of
https://github.com/GarrettGunnell/God-Machine.git
synced 2026-04-18 06:20:21 +00:00
10 lines
177 B
GDScript
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
|