+ 1

How to update a score?

Hey, i have a simple game and i dont know how i can display score that will be updating itselfs. what i have now is a results of all the numbers printing one on another. help.

12th Mar 2017, 8:40 PM
Aleksandra Kobusińska
Aleksandra Kobusińska - avatar
1 ответ
+ 1
Save the object you use to display the text (depending of your graphic library, for example Label for Tkinter) and use one of its method or attribute to modify its text instead of creating a new text each frame
12th Mar 2017, 9:13 PM
Baptiste E. Prunier
Baptiste E. Prunier - avatar