mirror of
https://gitee.com/freeyz/godot-mota.git
synced 2024-12-23 11:29:22 +08:00
10 lines
149 B
GDScript3
10 lines
149 B
GDScript3
|
extends AudioStreamPlayer2D
|
||
|
|
||
|
class_name BgmAudioPlayer
|
||
|
|
||
|
func _ready():
|
||
|
stream = load("res://sounds/bgm.ogg")
|
||
|
playing = true
|
||
|
volume_db -= 10
|
||
|
pass
|