Score now briefly pops to a larger size as it increases in value.

This commit is contained in:
Henry 2026-01-03 18:08:32 +00:00
parent f1eec30167
commit 02d14e913c
5 changed files with 63 additions and 6 deletions

4
ui.gd
View file

@ -12,6 +12,10 @@ func _ready():
func update_score(value):
score_counter.display_digits(value)
# var digits = score_counter.get_children()
# var tween = create_tween()
# tween.tween_property(digits,"scale",2,.15)
func _on_shield_changed(max_value: int, old_value: int, new_value: int) -> void:
shield_bar.max_value = max_value