|
From: Peter N. <pn...@ya...> - 2000-09-11 18:40:09
|
> What is the proper forum for discussion about > applications using PySDL or > different techniques? I think it would be nice to be > able to share ideas > and get some help. I'm not that experienced in > lowlevel surface handling > as needed by SDL (and PySDL). Transparency is for > instance one thing that > would be nice to learn more about. Actually I get good information from the regular SDL list even though I don't really program in C at all. There are a lot of applicable discussions about how to do blitting and updating rectangles, that sort of thing. > Is there any publicly available PySDL applications > that I could use to see > how others have done things? The new version of PyAliens is pretty good for that. It would be nice to have a place for people to upload things they've done with PySDL, I'd contribute to that. __________________________________________________ Do You Yahoo!? Yahoo! Mail - Free email you can access from anywhere! http://mail.yahoo.com/ |
|
From: Peter N. <pn...@ya...> - 2000-09-11 22:26:15
|
> well, if anyone's interested, i have a version of my > super-secret, unlreased source-split version of > pysdl ready > as a binary release for python 2.0b1 (win32). i've > been using > it for my testing and it works quite well. my big > grief with > it now is that it's using the latest CVS SDL and the > alpha- > slightly-incompatible SDL_image-1.0.9. so all image > alphas > are backwards. it's a pain using images with alphas > (for now) > but it does work with python2. if anyone wants, i'll > post the > binaries. I'd like to play around with this. It shouldn't be too hard to flip the alpha channels on images as they are loaded, right? Just wondering... is there anything about python 2 that jumps out at you as being a big improvement? It seems pretty similar to 1.6 for such a big jump in version number. __________________________________________________ Do You Yahoo!? Yahoo! Mail - Free email you can access from anywhere! http://mail.yahoo.com/ |
|
From: Pete S. <pe...@vi...> - 2000-09-11 23:25:32
|
Peter Nicolai wrote: > > I'd like to play around with this. It shouldn't be > too hard to flip the alpha channels on images as they > are loaded, right? no, i'd wager not. when this got submitted into SDL they mentioned SDL_image-1.0.10 was right behind it so i never bothered. still waiting for it though. > Just wondering... is there anything about python 2 > that jumps out at you as being a big improvement? It > seems pretty similar to 1.6 for such a big jump in > version number. well, Guido has mentioned a couple times that while there's a lot of new features for the new python, the 2.0 has more to do with the status of the new ownership of python (now owned by BeOpen). Guido also feels that python gets some bad mojo for being a 1.x release (heh, 10 years and still 1.5), so some of it is marketing as well. a well defined list of changes is found at http://www.pythonlabs.com/tech/python2.0/news.html. those are the changes since 1.6. 1.6 mainly added unicode and a new regexp module. the current plan is for the official python 2.0 release early next month (barring anything necessitating a 2nd beta or release candidate) the good news is pySDL seems to recompile just fine for the new release, so it will only benefit pySDL. (although i noticed the Py_Malloc and Py_Free macros were gone. didn't look into it, but quickly swapped them out with malloc and free) my testing has been admitedly limited to this point. |
|
From: Jan E. <ch...@in...> - 2000-09-11 18:58:29
|
On Mon, 11 Sep 2000, Peter Nicolai wrote: >Actually I get good information from the regular SDL >list even though I don't really program in C at all. >There are a lot of applicable discussions about how to >do blitting and updating rectangles, that sort of >thing. I have to dig through the archive for that list too when I have some problems. Thanks for the hint! >The new version of PyAliens is pretty good for that. >It would be nice to have a place for people to upload >things they've done with PySDL, I'd contribute to >that. Where can I have a look at it? It sounds a bit like the first think I made with pysdl, namely a simple 'Space Invaders' clone. Great fun to program. I assume I could find it on Google or Freshmeat, but surfing with 33.6kb is a lot of antifun. Regards, Chakie --------------------+-------------------------------------------------------- Jan 'Chakie' Ekholm | Balrog New Media http://www.balrog.fi/ Linux Inside | I'm the blue screen of death, nobody hears your screams |
|
From: Pete S. <pe...@vi...> - 2000-09-11 19:47:13
|
> Actually I get good information from the regular SDL > list even though I don't really program in C at all. > There are a lot of applicable discussions about how to > do blitting and updating rectangles, that sort of > thing. peter's right, i spend a lot of time here too. i do know C programming, but pretty much all the pySDL functions have a 1-to-1 call for their C function. pySDL is a pretty thin wrapping, so techniques for the C SDL apply directly to the python version. > > Is there any publicly available PySDL applications > > that I could use to see how others have done things? > > The new version of PyAliens is pretty good for that. > It would be nice to have a place for people to upload > things they've done with PySDL, I'd contribute to > that. currently, all pysdl applications i know of are open source. the "examples" directory that comes with pysdl is a bit frightening, and i've currently rewritten most of those to be simple and elegent (and as a bonus, work correctly). i'll be releasing that real soon, but for i'd recommend the cleanedup pyaliens i did, and you can also see cowtipper by Jeff Clement. I also recommend David Clark's pyPanda, pyStars, and the direct-from-c- conversion, pyAliens-1.1 the devel-pysdl archive lost my post?? here is a temporary home for the cleaner pyAliens: (note, this wasn't the exact version i put on the mailing list recently, but it should be close. i noticed it does print fps to the console as it plays) http://www.shinners.org/pete/ cowtipper: http://bluesine.com/archives/software/cowTipper/ david's goodstuff: http://www3.telus.net/futility/futility/software.html > This sounds good. I just started using Python 2.0, and > the old modules don't work with it, including pysdl. So > far I use 1.52 for the development of the parts that use > pysdl, and 2.0 for the parts that rely on the new XML > handling. It would be nice if there would be a Python 2.0 > version of pysdl some day. I have no idea as to how hard > it is to do the port, but I hope it's not impossible? well, if anyone's interested, i have a version of my super-secret, unlreased source-split version of pysdl ready as a binary release for python 2.0b1 (win32). i've been using it for my testing and it works quite well. my big grief with it now is that it's using the latest CVS SDL and the alpha- slightly-incompatible SDL_image-1.0.9. so all image alphas are backwards. it's a pain using images with alphas (for now) but it does work with python2. if anyone wants, i'll post the binaries. |