r3-next/title.gd

18 lines
397 B
GDScript3
Raw Normal View History

2023-08-09 02:36:38 +02:00
extends Control
# Called when the node enters the scene tree for the first time.
var bgsound := AudioStreamPlayer.new()
func _ready():
add_child(bgsound)
2023-08-12 22:40:25 +02:00
var titlemusic = load("res://music/x-force.mp3")
2023-08-09 02:36:38 +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