Initial commit
This commit is contained in:
commit
0f67687c55
39 changed files with 1205 additions and 0 deletions
14
scorecard.gd
Normal file
14
scorecard.gd
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
extends Control
|
||||
class_name Scorecard
|
||||
|
||||
var score : int = 0
|
||||
var id : int = 0
|
||||
|
||||
@export_group("Node References")
|
||||
@export var score_label : Label
|
||||
@export var sprite : AnimatedSprite2D
|
||||
|
||||
func _process(delta: float) -> void:
|
||||
score_label.text = str(score)
|
||||
sprite.frame = id
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue