All Questions

Community

G
Goemoe

Shouldn't we set all values to zero at the end?

scoreboard.add_line(name_field.text, points_field.text)
    name_field.text = ""
I set the points_field.text to "" as well to not have a given value when adding the next line.
  • G
    Goemoe replied

    (In the ScoreForm.gd)...

  • Nathan Lovato replied

    Sure, if you'd like. It's just a little demo for learning, so what matters to us is that you can quickly test e.g. adding two score for two players and see how they appear in the scoreboard.