save system

This commit is contained in:
zoe 2021-10-01 16:23:48 +02:00
parent ad8de1dbb7
commit ffcccb8c2e
29 changed files with 286 additions and 77 deletions

View file

@ -6,6 +6,7 @@ export var unlock_points_required = 0
func _ready():
if unlock_points_required > GameStats.unlock_points:
disabled = true
text = String(unlock_points_required - GameStats.unlock_points) + " more points"
func _on_SceneSelectButton_pressed():
GameStats.set_current_scene(scene)