1
0
Fork 0
This repository has been archived on 2024-05-12. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
GMTK-2023-Postjam/Scripts/DeathLabel.gd

12 lines
362 B
GDScript3
Raw Normal View History

2024-05-11 17:33:26 +02:00
extends Label
# Called when the node enters the scene tree for the first time.
func _ready():
text = str(int(get_node("/root/DataStore").read("coins", 0))-int(get_node("/root/Scorekeeper").score)) + " + " + str(int(get_node("/root/Scorekeeper").score))
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta):
pass