Python Forum
Thread Rating:
  • 2 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Clicker game counter help
#3
(Apr-30-2017, 09:24 AM)JohnNo Wrote: if counter == 20:
   root.destroy
but that does not work so I ask if someone can help
Have you tried calling the function, instead of just referring to it? ie: root.destroy()

I don't think using global variables is a good idea. It solves the immediate issue while making the next thing more complicated.
Reply


Messages In This Thread
Clicker game counter help - by JohnNo - Apr-30-2017, 05:12 AM
RE: Clicker game counter help - by JohnNo - Apr-30-2017, 09:24 AM
RE: Clicker game counter help - by nilamo - May-02-2017, 04:04 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  pygame error in my clicker game CrazyMakes 2 2,579 Apr-19-2020, 03:04 AM
Last Post: Windspar

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020