Files
first-game/scripts/main_menu.gd
2026-03-30 22:45:29 +05:30

11 lines
166 B
GDScript

extends Node2D
func _ready() -> void:
HUD.hide()
func _on_start_button_pressed() -> void:
HUD.show()
get_tree().change_scene_to_file("res://scenes/game.tscn")