mirror of
https://github.com/GarrettGunnell/God-Machine.git
synced 2026-04-18 06:20:21 +00:00
10 lines
185 B
GDScript
10 lines
185 B
GDScript
extends AudioStreamPlayer
|
|
|
|
|
|
func _ready() -> void:
|
|
GameMaster.decrement_input.connect(play_sound)
|
|
|
|
|
|
func play_sound() -> void:
|
|
pitch_scale = lerp(0.9, 1.1, randf())
|
|
playing = true
|