This commit is contained in:
kevadesu 2025-06-18 19:36:23 +02:00
parent 14f0200b50
commit 03c365890f
9 changed files with 117 additions and 139 deletions

View file

@ -1,8 +1,9 @@
extends Control
@onready var start_button = get_node("TextureRect/MarginContainer/HBoxContainer/VBoxContainer/PlayButton")
@onready var quit_button = get_node("TextureRect/MarginContainer/HBoxContainer/VBoxContainer/QuitButton")
@onready var levellist = $TextureRect/MarginContainer/HBoxContainer/LevelList
@onready var start_button = get_node("MarginContainer/HBoxContainer/VBoxContainer/PlayButton")
@onready var quit_button = get_node("MarginContainer/HBoxContainer/VBoxContainer/QuitButton")
@onready var levellist = $MarginContainer/HBoxContainer/LevelList
@onready var bgmusic = get_node("AudioStreamPlayer")
var playbutton = false
var stringing = "hi"
@ -11,6 +12,8 @@ func main():
func _ready():
print("READY!!! >w<")
bgmusic.stream = load("res://assets/audio/FlyingHomeMain.ogg")
bgmusic.play()
levellist.hide()
start_button.pressed.connect(_start_button_pressed)
quit_button.pressed.connect(_quit_button_pressed)