Fixed Bugs; Added Score overview

This commit is contained in:
Exobyt 2024-08-20 12:17:51 +02:00
parent fdfb6a7d39
commit 6d71780f36
9 changed files with 152 additions and 33 deletions

View file

@ -0,0 +1,19 @@
extends Control
@onready var score = $VBoxContainer3/VBoxContainer2/ScoreValue
@onready var time = $VBoxContainer3/VBoxContainer/TimeValue
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
score.text = str(GLOBAL.points)
time.text = str(GLOBAL.time)
GLOBAL.resetGame()
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void:
pass
func _on_left_button_pressed() -> void:
get_parent().loadGrid()