Hi I am trying to make a punny cookie clicker type game called py clicker and made an invisible circle over the sprite which is a pie. How do I detect if the mouse is within the circle so when the user clicks it checks if it is in the circle and adds one to the counter?
you can use the graphics library and use the method called getMouse.
Python 2.7.7/Pygame - How to detect if the mouse is within a circle?