improved loading screen and worked on code
This commit is contained in:
parent
5a2df93eb4
commit
09af71289f
9 changed files with 106 additions and 32 deletions
8
start.gd
8
start.gd
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue