[pygame] Py2EXE Error Involving raw_input

2007-10-13 Thread kschnee
I tried to build the little graphics tool I recently mentioned -- the one that makes "edge tiles" -- into an EXE, and got a strange error. The program runs fine in IDLE and when run directly by double-clicking the source file, but the EXE crashes with the following error (automatically placed in a

[pygame] how do I maximize the window?

2007-10-13 Thread Richard
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 disappointing.

Re: [pygame] Partially Transparent Color-Dynamic Rectangles

2007-10-13 Thread Ian Mallett
It's probably just me; I don't even know exactly what I want. As you can see from the screenshot for Asteroids 4.0 on pygame.org, the bars are now transparent. Thanks, Ian

Re: [pygame] Partially Transparent Color-Dynamic Rectangles

2007-10-13 Thread Ian Mallett
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? Ian

Re: [pygame] Partially Transparent Color-Dynamic Rectangles

2007-10-13 Thread Ian Mallett
So like: bar_surface = pygame.Surface((bar_width, bar_height)) bar_surface.fill(#custom color) surface.blit(bar_surface, (bar_pos_x, bar_pos_y))

Re: [pygame] Partially Transparent Color-Dynamic Rectangles

2007-10-13 Thread Will McGugan
Ian Mallett wrote: Hi, I'm making a game where there are status bars overlaying the main screen. These status bars change in both length and in color according to their length. e.g., a short bar will be red (warning that you have limited amounts of resource), and a long bar will be green

[pygame] Partially Transparent Color-Dynamic Rectangles

2007-10-13 Thread Ian Mallett
Hi, I'm making a game where there are status bars overlaying the main screen. These status bars change in both length and in color according to their length. e.g., a short bar will be red (warning that you have limited amounts of resource), and a long bar will be green (showing that you have eno