shoDater/scenes/menu/assets/scripts/newgame.gd

9 lines
185 B
GDScript3
Raw Normal View History

2024-07-19 01:26:40 +01:00
extends Button
func _ready():
if FileAccess.file_exists("user://chapter.sds"):
position.y = 198
func _on_pressed():
get_tree().change_scene_to_file("res://scenes/quiz/quiz.tscn")