time remaining in ending page

This commit is contained in:
Victor Turgeon
2023-10-11 10:37:23 -04:00
parent bdbced65ce
commit bd4e70f02b
4 changed files with 39 additions and 3 deletions

View File

@@ -21,6 +21,7 @@ func _process(delta):
func win_screen():
var enemy = $Enemy
var end = load("res://Scenes/ending.tscn").instantiate()
end.remainingTime = str(length - time - 1)
end.totalBlud = player.totalBludGenerated
end.army = player.allSpawnedMonsters
end.killcount = enemy.killcount