From: Jan E. <ch...@in...> - 2000-09-12 06:01:05
|
On Mon, 11 Sep 2000, David Clark wrote: >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. This works fine. >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. Hah, this was exactly what I needed. As I'm new to both SDL and pysdl there is a lot to learn about how to do things in sdl. For instance the update_rects() should be better than always updating the entire display. Is there a real benefit from converting surfaces to the native format with convert_display()? I assume there is, as otherwise the normal SDL would not have included it. I'm not working on a fps game, but slowpaced strategic game, but the amounts of gfx that may need updating every now and then can be very large (scrolling around the map etc). And yes, if anyone likes those kinds of games I'm interested in discussing methods for making them look and play good using pysdl. Anyway, I'm off to experimenting with my newfound knowledge. I'll rip pyaliens to parts and start playing with it a little. :-) I appreciate the swift and good help I got here, so I think I'll hang around on this list. 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 |