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

10 lines
149 B
GDScript3
Raw Normal View History

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