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
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
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
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
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 pixels
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
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.
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 that
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,
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
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
Ian Mallett wrote:
On 10/14/07, *Luke Paireepinart* [EMAIL PROTECTED]
mailto:[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
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
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
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. If
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
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
pygame
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
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. :-(
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
20 matches
Mail list logo