|
pygame is
pygame.org is
|
InCircle
InCircle - 1.0Ryan Baumann (theguywhogoton)Tags:DescriptionI noticed PyGame has no way in checking if a point is inside a circle or any distance function. I then created this, you can just import it (If you download the pyc file and place it in the folder of your game).
distance(p1, p2) - Returns an integer
check(dis, rad) - Returns a boolean
Example: http://PhoenixProgramming.org/files/InCircleExample.py LinksReleases| InCircle - 1.0 | - Jan 25, 2009 |
Pygame.org account CommentsIf you wish to leave a comment with your pygame.org account, please sign in first.
|
| spotlight |
|
|
|
| our projects |
|
pygame.org welcomes all python game, art, music, sound, video and multimedia projects. If they use pygame or not.
|
|
|
| recent releases |
|
May 18, 2013
May 17, 2013
May 16, 2013
May 15, 2013
May 11, 2013
May 8, 2013
Apr 26, 2013
Apr 24, 2013
Apr 23, 2013
Apr 19, 2013
... more!
|
|