r3-next/levels/wormhole.gd

18 lines
392 B
GDScript3
Raw Permalink Normal View History

2023-09-06 20:45:24 +02:00
extends Node2D
# Called when the node enters the scene tree for the first time.
var bgsound := AudioStreamPlayer.new()
func _ready():
add_child(bgsound)
2024-01-16 13:58:51 +01:00
var titlemusic = load(Global.musictracks[2])
2023-09-06 20:45:24 +02:00
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