19 lines
447 B
GDScript
19 lines
447 B
GDScript
extends Node
|
|
|
|
@onready var Start: Button = %Start
|
|
|
|
# Called when the node enters the scene tree for the first time.
|
|
func _ready() -> void:
|
|
pass # Replace with function body.
|
|
|
|
|
|
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
|
func _process(delta: float) -> void:
|
|
Start.grab_focus()
|
|
pass
|
|
|
|
|
|
func _on_start_pressed() -> void:
|
|
get_tree().change_scene_to_file("res://scenes/main.tscn")
|
|
pass # Replace with function body.
|