improved loading screen and worked on code

This commit is contained in:
kevadesu 2025-05-24 17:48:31 +02:00
parent 5a2df93eb4
commit 09af71289f
9 changed files with 106 additions and 32 deletions

View file

@ -1,4 +1,12 @@
extends Control
@onready var start_button = get_node("TextureRect/MarginContainer/HBoxContainer/VBoxContainer/PlayButton")
func main():
print("Hey!")
func _start_button_pressed():
get_tree().change_scene_to_file("res://Level_Core.tscn")
func _ready():
start_button.pressed.connect(_start_button_pressed)