|
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 23, 2012
May 22, 2012
May 20, 2012
May 19, 2012
May 18, 2012
May 17, 2012
May 16, 2012
May 12, 2012
... more!
|
|