2023-03-31 17:01:28 +00:00
|
|
|
extends Control
|
|
|
|
|
2023-04-04 00:22:56 +00:00
|
|
|
@onready var game_scene = load("res://Scene/Game.tscn").instantiate()
|
|
|
|
|
|
|
|
func _ready():
|
|
|
|
$"MarginContainer/VBoxContainer/Menu Butons/Start Button".grab_focus()
|
2023-03-31 17:01:28 +00:00
|
|
|
|
|
|
|
func _on_start_button_pressed():
|
|
|
|
get_tree().change_scene_to_file("res://Scene/Game.tscn")
|
|
|
|
|
|
|
|
func _on_quit_button_pressed():
|
|
|
|
get_tree().quit()
|
|
|
|
|
|
|
|
|
|
|
|
func _on_about_button_pressed():
|
|
|
|
OS.shell_open("https://git.euph.dev/snoweuph/Snake")
|