1
0
mirror of https://gitee.com/freeyz/godot-mota.git synced 2024-12-23 01:09:25 +08:00
godot-mota/scripts/BgmAudioPlayer.gd

9 lines
143 B
GDScript

extends AudioStreamPlayer2D
class_name BgmAudioPlayer
func _ready():
stream = load("res://sounds/bgm.ogg")
playing = true
volume_db -= 20