r3-next/levels/galaxy.gd
2024-01-16 05:58:51 -07:00

17 lines
392 B
GDScript

extends Node2D
# Called when the node enters the scene tree for the first time.
var bgsound := AudioStreamPlayer.new()
func _ready():
add_child(bgsound)
var titlemusic = load(Global.musictracks[1])
bgsound.stream = titlemusic
bgsound.play(0)
#pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta):
pass