Re: [pygame] how to bind surface rects without subsurface (need help with bug)

2009-03-10 Thread Patrick Mullen
On Mon, Mar 9, 2009 at 10:31 PM, Michael Fiano michael.fi...@gmail.com wrote: I realize my code isn't the best code there is, but it's also my first programming project and I've been teaching myself all sorts of things as I go. But, could someone please take a look at code and tell me why the

Re: [pygame] Google Summer of Code participation

2009-03-10 Thread Marcus von Appen
On, Mon Mar 09, 2009, Nirav Patel wrote: Windows and OS X webcam support are other possibilities. If students come up with interesting ideas, that's fine as well, though. There's no need to stick to the ideas list only :-). Absolutely. Hopefully students will come forward with project

[pygame] Fade to black question...

2009-03-10 Thread Ty ...
I'm trying to get a fade to black working, to that end I've written a simple program just to try it out... the (partial) code looks like this: self.screen.fill(white) self.screen.blit(self.image, self.size, self.size) print self.screen.get_at((4,4)); self.screen.fill((2,2,2), None, BLEND_SUB)

Re: [pygame] Warn desktop user in some way

2009-03-10 Thread Yanom Mobis
hmmm... for a non-gamish app I recommend Tkinter or wxPython. (Mostly Tkinter :) --- On Sun, 3/8/09, Luca luca...@gmail.com wrote: From: Luca luca...@gmail.com Subject: [pygame] Warn desktop user in some way To: pygame-users@seul.org Date: Sunday, March 8, 2009, 6:20 AM Hi all! I want to use

Re: [pygame] how to bind surface rects without subsurface (need help with bug)

2009-03-10 Thread Patrick Mullen
Yep, changing the layer order is just a quick fix, not a real solution. You can keep the layer order you had before, and add a move_layers function to the map. Give the player a reference to the map instead of the two layers, and call move_layers in the spots you are setting the background.move

Re: [pygame] Fade to black question...

2009-03-10 Thread Patrick Mullen
On Tue, Mar 10, 2009 at 8:32 AM, Ty ... ty.sql...@gmail.com wrote: I'm trying to get a fade to black working, to that end I've written a simple program just to try it out... the (partial) code looks like this: self.screen.fill(white) self.screen.blit(self.image, self.size, self.size) print

Re: [pygame] Fade to black question...

2009-03-10 Thread Brian Fisher
That's a bug. I think all the BLEND_ stuff was broken like that (where green is messed up). It should be fixed now, though - can you try a pre-release build? If you are on windows or Mac, you can get a pre-release build here: http://thorbrian.com/pygame/builds.php on linux though, I think you'd

Re: [pygame] Google Summer of Code participation

2009-03-10 Thread Nirav Patel
On Tue, Mar 10, 2009 at 3:26 AM, Marcus von Appen m...@sysfault.org wrote: Done. I added a news entry and a new ideas page at http://pygame.org/wiki/gsoc2009ideas I updated the ideas page to be categorized into Easy, Medium, and Hard projects. Most of the projects are still unsorted, so any

[pygame] Sprite group drawing with offset

2009-03-10 Thread Thiago Chaves
Hi, I just had a conversation with some people at #pygame on IRC, and it seems that at least me and unlucky777 agree that it would be cool to be able to pass an offset value to the drawing function on pygame sprite groups. The idea is that people who think about a camera (or when writing games