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

9 lines
143 B
GDScript3
Raw Normal View History

extends AudioStreamPlayer2D
class_name BgmAudioPlayer
func _ready():
stream = load("res://sounds/bgm.ogg")
playing = true
2020-07-23 22:12:08 +08:00
volume_db -= 20