[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [pygame] Collision detection revisited
ok, the SCAM library has been wrapped. it seems to be running happy, but
my testing is sorely limited. currently it has the following functions
Mask, Mask.get_at, Mask.get_size, Mask.draw, Mask.overlap, Mask.overlap_area
ulf, i'm sure you can take it from here and add whatever else needs
doing. i commented the areas that need any explanation. i've also added
a pretty complete distutils setup and config scripts. it should build
and install on windows, unix, and darwin. it compiles the SCAM code in
statically, so it is a complete standalone python extension module.
http://www.pygame.org/ftp/contrib/scam_python.tgz
untar into your "SCAM-0.5" directory and it will put everything in a
"python" subdirectory. from there to "python setup.py" and it will install.
____________________________________
pygame mailing list
pygame-users@seul.org
http://pygame.seul.org