Snake/scenes/menu.gd

17 lines
385 B
GDScript3
Raw Normal View History

2025-09-03 12:14:08 +10:00
extends Control
# 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:
pass
func _on_play_button_pressed() -> void:
2025-09-03 21:34:33 +10:00
Router.player_mode = false
2025-09-03 12:14:08 +10:00
get_tree().change_scene_to_file("res://test.tscn")