main menu

This commit is contained in:
Rendo 2025-07-01 17:31:12 +05:00
commit 089ebc4797
35 changed files with 389 additions and 117 deletions

14
scripts/sacrifice.gd Normal file
View file

@ -0,0 +1,14 @@
extends TextureButton
@onready var confirm = $CONFIRM
func _pressed() -> void:
confirm.popup_centered()
func _on_confirm_close_requested() -> void:
get_tree().change_scene_to_file("res://scenes/sacrifice.tscn")
func _on_confirm_confirmed() -> void:
get_tree().change_scene_to_file("res://scenes/sacrifice.tscn")