2023-08-14 03:54:00 +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)
|
2023-11-23 20:19:21 +01:00
|
|
|
var titlemusic = load("res://music/alien-bulls.wav")
|
2023-08-14 03:54:00 +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
|