added saving

This commit is contained in:
pennyrigate 2023-01-03 20:52:30 -05:00
parent 1ca21d438f
commit 969364ebce
40 changed files with 625 additions and 88 deletions

View file

@ -14,7 +14,7 @@ onready var high_counter = $HighCounter
func _physics_process(delta):
#Gold Counter
gold_counter.text = "%03d" % Game.golds
gold_counter.text = "%02d" % Game.golds
#Shard Counter
shard_counter.text = "%02d" % Game.shards
#Star Counter
@ -29,6 +29,6 @@ func _physics_process(delta):
arrow_counter.text = "%02d" % Game.arrows
##TOUCH UP LATER
#Lives counter
lives_counter.text = str("LIVES:") + str(Game.lives)
lives_counter.text = str(Game.lives)
#High counter
high_counter.text = str("HIGH:") + str("%06d" % Game.high_score)