ScoreLabel.gd 95 B

1234567
  1. extends Label
  2. var score = 0
  3. func _on_Mob_squashed():
  4. score += 1
  5. text = "Score: %s" % score