r3-cd/levels/galaxy.gd

18 lines
400 B
GDScript3
Raw Permalink Normal View History

2023-09-25 20:07:12 +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)
var titlemusic = load("res://music/alien-bulls.wav")
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