pygame is
Python
Simple DirectMedia Layer
 
 
pygame.org is
Site Swing
PyBoids

PyBoids - 1.0

Heiko Nolte (heikonolte)

Tags:

Description

To use install Python 2.x and PyGame API. Implements more or less the boids algorithm introduced by Conrad Parker under http://www.vergenet.net/~conrad/boids/pseudocode.html. Use left mouse button to set a target the boids have to chase. The right mouse button sets an obstacle the boids are trying to avoid. The file boidViewMod ist the entrypoint to the boid demo. It's used to render the boids on screen using the PyGame API. The file boidSwarmMod implements the boids algorithm. In vector2DMod a 2 dimensional vector with basic operations is implemented.

Links

Home Page: http://gamejolt.com/open-source/games/other/pyboids/3078/

Screenshot


click to view original size

Releases

PyBoids - 1.0 - Aug 1, 2010

Pygame.org account Comments

If you wish to leave a comment with your pygame.org account, please sign in first.

August 2, 2010 2:44pm - Kacper Zuk - nickname: (kaz) - 4/5
Really nice!
I think you can make vector class simplier, something like this: http://pastebin.com/0vE6NrbV
Then u can simply code like:
a = Vector(10,15)
b = Vector(1,13)
c = a*2+b/2
Btw. you've inspired me to do something similar, but I think my rule2 is broken ^_^
spotlight

 
our projects
pygame.org welcomes all python game, art, music, sound, video and multimedia projects. If they use pygame or not.
 
recent releases
Jul 28, 2014

Jul 22, 2014

Jul 21, 2014

Jul 20, 2014

Jul 19, 2014

Jul 15, 2014

Jul 10, 2014

Jul 9, 2014

Jun 27, 2014



Jun 24, 2014

... more!
 
for pygame related questions, comments, and suggestions, please see help (lists, irc)