From: David C. <si...@te...> - 2000-09-11 20:39:17
|
Jan Ekholm writes: > > Hi there, > > I'm having some small problems with PySDL, but I'm not sure this is the > correct forum. The regular discussion forums at SourceForge seemed a bit > quiet, so I decided to try this instead. This is the only real forum for pySDL issues, so it's fine to post here. If anyone can get write access to sourceforge, perhaps we should get rid of the forums, since the mailing list seems to be what we need right now? > How do I get a proper list of all accepted video modes using PySDL? I just > want to verify that a specific mode can be used with a certain depth. I > tried the following code to get some info: >snip code< I haven't found sdl.video_list_modes() to be all that helpful, really. I mainly use sdl in windowed modes, but if I needed to do what you're trying to do, I'd use sdl.video_mode_ok(), and try it with each resolution I was interested in. It's not ideal, I know. > > 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. The SDL mailing list is really good for this stuff, although they mainly talk C there. http://www.lokigames.com/ml/sdl/ You can also try the #SDL channel at irc.openprojects.net, where I hang around from time to time as Futility. > Is there any publicly available PySDL applications that I could use to see > how others have done things? I've written a few things you could look at, but I'd mainly recommend Pete Shinners's version of pyAliens - it's good, fast, compact and readable. I'd like to see it get incorporated into a demo directory in the pySDL distribution, if possible. http://www3.telus.net/futility/futility/software.html (Look near the bottom.) David Clark si...@te... Preliminary pySDL Documentation: http://www3.telus.net/futility/futility/docs/pysdl/index.html |