8 lines
95 B
GDScript
8 lines
95 B
GDScript
extends Label
|
|
|
|
var score = 0
|
|
|
|
func _on_mob_squashed():
|
|
score += 1
|
|
text = "Score: %s" % score
|