[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [pygame] new 2d primitives library for pygame/SDL



> You know, until you mentioned it, I didn't even know there *was* a draw
> module in pygame.

yeah, surprise :]
http://pygame.seul.org/docs/ref/pygame_draw.html




> If I can get pygame to compile (don't see why I couldn't) I'll forward
> you an msvc project file, too - for those of us who are on build-tool
> challenged platforms.

ok, i got your project files. i'll put these on the ftp site in case
anyone wants these? i'm wondering if you've found any benefits with
the msvc projects? the only thing i can think is that you get all
the files nicely listed in the msvc ide?
as for pygame, i've done all the development on windows. the distutils
do a great job of handling win32, so i haven't bothered with any msvc
projects.


> > i was able to make a few small changes and your package compiled with
> > the distutils stuff included. eventually you'll probably want to get
> > it set up right, since then it can compile on all platforms.
> 
> What platform?  Mind sending me your changes?

yeah, i've attached them you'll likely need to change the path
to your SDL libraries in the Setup file. nice easy textfile. i'm
hoping after a new version of the 3rd-party-distutils-skeleton
it will be a little more automated.

you also need to change the #include"pygame.h" to
#include"pygame/pygame.h". distutils adds the python headers
directory into the compile commands, and it installs the pygame
headers into a subdirectory there. so "pygame/pygame.h" will
work on all platforms. distutils also handles all the function
exporting for you, so there's no need to __declspec() your code. :]



> Keep us posted!  BTW, what other 3rd parties are out there?

well, the only other one now is SDL_anim. this is a library
to manage sprites that are specially encoded in a multi-image PNG
http://tamale.net/SDL_anim/


heidi setup.zip