1
0
Files
godotminiprojects/BaloonPopper/BaloonManager.gd
FoxSpellCaster 07cf5c6f53 Lesson 4
2025-01-10 17:06:09 -05:00

10 lines
170 B
GDScript

extends Node3D
var score : int = 0
@export var score_text : Label
func increase_score (amount):
score += amount
score_text.text = str("Score: ", score)
print(score)