conductor/scripts/intro.gd
2026-03-16 00:25:37 -04:00

38 lines
569 B
GDScript

#@tool
#@icon(icon_path: String)
#class_name MyNode
extends Node
## Documentation comments
#signal
#enum
#const
const LEVEL_0 = preload("uid://1mhb537c1qxd")
#@export var
#var
@onready var start_button: Button = %StartButton
## OVERRIDES
func _ready() -> void:
start_button.connect("pressed", on_start_button_pressed)
func _process(_delta: float) -> void:
pass
func _physics_process(_delta: float) -> void:
pass
## CORE
## PRIVATE/HELPER
## RECEIVERS
func on_start_button_pressed() -> void:
get_tree().change_scene_to_packed(LEVEL_0)
## SETTERS/GETTERS