Python Forum
[split] Accurate Clicks Per Second
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[split] Accurate Clicks Per Second
#3
It just looks like a circle is created each time you click and it expands. Then it disappears after reaching a certain size. I don't know what you're using but I think it'd be best to have a list of circles, use a for statement to cycle through them and expand them as well as check their size. If they're big enough then remove them from the list. On another line of code, display all the circles in the list, unless what you're using works differently. My example would work best in a library such as pygame where you're constantly updating the screen and when an object stops being drawn on the screen it "disappears"
Reply


Messages In This Thread
[split] Accurate Clicks Per Second - by kathyalex - Feb-14-2021, 03:43 PM
RE: [split] Accurate Clicks Per Second - by SheeppOSU - Feb-15-2021, 09:03 PM
RE: Accurate Clicks Per Second - by deanhystad - Feb-14-2021, 03:49 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [split] Accurate Clicks Per Second Hamti 6 4,281 May-18-2024, 06:24 AM
Last Post: wordtime
  Accurate Clicks Per Second JudyLarose 8 9,677 Feb-10-2021, 03:00 AM
Last Post: deanhystad
  help with python mouse clicks and Pygame programmer229193 5 3,022 May-05-2020, 04:15 PM
Last Post: Windspar
  [PyGame] How would I make my position variable more accurate? HelpMEE 4 3,085 Dec-31-2019, 02:31 AM
Last Post: metulburr

Forum Jump:

User Panel Messages

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