[pygame] vbl

2007-10-14 Thread John Christie
Hi, Maybe I posed my previous question wrong. I am looking to be able to track the VBL, vertical blank, vertical retrace, what have you. Does anyone have any experience with this in pygame or another package?

Re: [pygame] pygamefont problem

2007-10-14 Thread vwf
On Thu, Oct 11, 2007 at 08:36:07PM -0400, Ethan Glasser-Camp wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > vwf wrote: > > I think I use old code, but I don't know what is wrong. I include a > > small programme that works, but displays incorrectly (it is a Q&D cut > > from my real pr

[pygame] Patch to compile with MSVC7.1, bug fix to set_blocked(), adds event range-checking

2007-10-14 Thread John Popplewell
Hi, just did a check-out and had trouble compiling with the Microsoft Visual C++ Toolkit 2003 compiler (version 7.1). Mainly variables not declared at the top of a block, and a couple of casts in 'transform.c'. Also found a minor bug in pygame.event.set_blocked() when type is None, in 'event.c'.

Re: [pygame] libpng problem on OS X (intel)

2007-10-14 Thread Nathan
On 10/14/07, René Dudfield <[EMAIL PROTECTED]> wrote: > Looks like the libpng you have might be broken? And now I've reinstalled libsdl_image, and that doesn't help either. :-(

Re: [pygame] libpng problem on OS X (intel)

2007-10-14 Thread Nathan
On 10/14/07, René Dudfield <[EMAIL PROTECTED]> wrote: > Looks like the libpng you have might be broken? Yes, that was my first thought. So I upgraded to the latest version of libpng and reinstalled pygame as well. Unfortunately, the error stayed the same. ~ Nathan

Re: [pygame] libpng problem on OS X (intel)

2007-10-14 Thread René Dudfield
Looks like the libpng you have might be broken? On 10/15/07, Nathan <[EMAIL PROTECTED]> wrote: > I haven't actively done anything with my pygame project > "nathancheckers" since my daughter was born over a year ago. I've got > a MacBook Pro (core 2 duo, 2GB RAM) and I use MacPorts to install > p

[pygame] libpng problem on OS X (intel)

2007-10-14 Thread Nathan
I haven't actively done anything with my pygame project "nathancheckers" since my daughter was born over a year ago. I've got a MacBook Pro (core 2 duo, 2GB RAM) and I use MacPorts to install pygame and stuff like that. I checked when I fiirst got it, and nathancheckers seemed to run fine at the

Re: [pygame] Partially Transparent Color-Dynamic Rectangles

2007-10-14 Thread Ian Mallett
On 10/14/07, Luke Paireepinart <[EMAIL PROTECTED]> wrote: > > Ian Mallett wrote: > > Yes, but then everything behind it is brighter when it shouldn't be... > What do you mean by this? When you have an opaque bar of a solid color ("pygame.draw.rect(surface, (255,0,0), (rect), 1)") then it looks red

Windows installer for latest SVN version; was Re: [pygame] maximize broken..

2007-10-14 Thread Lenard Lindstrom
inhahe wrote: maybe it does in a more current version of pygame. you mentioned a more current version has width and height in pygame.display.Info(). mine doesn't. but mine is 1.7.1release, and that's the latest available for download on the webpage, do you mean i'd have to get the SVN and try to

Re: [pygame] Future of pygame?

2007-10-14 Thread Luke Paireepinart
Mark Wexler wrote: Hello. I'm a big fan of pygame, in fact I've been using it in the past three years in a class I teach in which students learn how to create and program psychology experiments--so I'd like to thank the developers for doing such a good job. However, my co-instructors and I are a

Re: [pygame] Partially Transparent Color-Dynamic Rectangles

2007-10-14 Thread Luke Paireepinart
Ian Mallett wrote: On 10/14/07, *Luke Paireepinart* <[EMAIL PROTECTED] > wrote: Increase the RGB values before you fill the surface. < RGB = closer to white = brighter. Yes, but then everything behind it is brighter when it shouldn't be... What do you

Re: [pygame] maximize broken..

2007-10-14 Thread John Popplewell
On Sun, Oct 14, 2007 at 07:03:49PM -0400, inhahe wrote: > oh.. yes, it's doing the same thing when i hit the maximize button. > i'm not sure it was doing that before. i do call set_mode with the > value of event.size. here's my code > > elif event.type == pygame.VIDEORESIZE: > print 1 >

[pygame] Future of pygame?

2007-10-14 Thread Mark Wexler
Hello. I'm a big fan of pygame, in fact I've been using it in the past three years in a class I teach in which students learn how to create and program psychology experiments--so I'd like to thank the developers for doing such a good job. However, my co-instructors and I are a little bit worried ab

Re: [pygame] maximize broken..

2007-10-14 Thread inhahe
oh.. yes, it's doing the same thing when i hit the maximize button. i'm not sure it was doing that before. i do call set_mode with the value of event.size. here's my code elif event.type == pygame.VIDEORESIZE: print 1 print event screen = pygame.display.set_mode(event.size, pygam

Re: [pygame] Partially Transparent Color-Dynamic Rectangles

2007-10-14 Thread Ian Mallett
On 10/14/07, Luke Paireepinart <[EMAIL PROTECTED]> wrote: > Increase the RGB values before you fill the surface. < RGB = closer to > white = brighter. Yes, but then everything behind it is brighter when it shouldn't be... the solution is to use a more neutral background. It looks better now th

Re: [pygame] Partially Transparent Color-Dynamic Rectangles

2007-10-14 Thread Luke Paireepinart
Ian Mallett wrote: I also added the surface.set_alpha() function. Since the bars are against a dark background, they look too dark. Is there a way to increase the brightness of all the pixels or something, but still show the transparency? Increase the RGB values before you fill the surface.

Re: [pygame] how do I maximize the window?

2007-10-14 Thread John Popplewell
Hi, here's a minimal example that works for me. Pressing 'm' toggles between maximized and restored. It shows a dark red background with a single pixel wide yellow border to show the new screen area. ## import pygame from p

Re: [pygame] how do I maximize the window?

2007-10-14 Thread John Popplewell
On Sun, Oct 14, 2007 at 10:01:32AM -0400, inhahe wrote: > hmm, I'm having a problem with this. when i maximize, the title bar > goes into the right place, etc., but the actual viewing space is a > little too far up. it stops, with no border, a few pixels above the > taskbar, and starts a few pixe

Re: [pygame] problems with maximizing the window

2007-10-14 Thread John Popplewell
On Sun, Oct 14, 2007 at 10:10:39AM -0400, inhahe wrote: > I just noticed another thing. i tried using pygame.NOFRAME on the off > chance that that would help, figuring maybe it's miscalculating the > size of the title bar and would be smart enough to know when there > isn't one, but when NOFRAME is

Re: [pygame] problems with maximizing the window

2007-10-14 Thread inhahe
I just noticed another thing. i tried using pygame.NOFRAME on the off chance that that would help, figuring maybe it's miscalculating the size of the title bar and would be smart enough to know when there isn't one, but when NOFRAME is in effect, SDL_Maximize() does nothing. On 10/14/07, inhahe <[

Re: [pygame] how do I maximize the window?

2007-10-14 Thread inhahe
hmm, I'm having a problem with this. when i maximize, the title bar goes into the right place, etc., but the actual viewing space is a little too far up. it stops, with no border, a few pixels above the taskbar, and starts a few pixels above the title bar but behind it so stuff is covered up by t

Re: [pygame] how do I maximize the window?

2007-10-14 Thread John Popplewell
On Sun, Oct 14, 2007 at 04:55:14AM +, Richard wrote: > How do I maximize the pygame window or start it maximized? not fullscreen, > just > maximized. by code, not by clicking on the maximize button. i can't find a > way > to do this. if there's really not a way to do it, that's kind of > d