Gee, how come I've been bothered by that bug for like 3 years straight now ...
and just put up with it? Way to take matters into your own hands! :)
-Phil
Michael Fiano [EMAIL PROTECTED] wrote: On Sat, 5 Apr 2008 13:14:27 -0700 (PDT)
Phil Hassey
wrote:
os.environ['SDL_AUDIODRIVER'] =
http://www.pygame.org/docs/ doesn't have a link to pygame.scrap...
http://www.pygame.org/ludumcontest1.shtml should be linked to the main
page. I like the parrots game, though the source is no longer available.
Well it looks like I have another obscure Pygame 1.8 bug to hunt down. I
was trying the PolyPlay 1.3* Walker demo on Windows - PolyPlay\run.bat -
and a couple of seconds after the simulation starts the program
segfaults, which is caught by the Pygame parachute. Right now I have no
idea what
hi,
have you tried using gdb?
Also you can initialise each module separately if you like.
eg.
import pygame.display
pygame.display.init()
etc...
cheers,
On Mon, Apr 7, 2008 at 7:48 AM, Lenard Lindstrom [EMAIL PROTECTED] wrote:
Well it looks like I have another obscure Pygame 1.8 bug to hunt
gdb doesn't help, even when Pygame is compiled with the -g option.
Lenard
René Dudfield wrote:
hi,
have you tried using gdb?
Also you can initialise each module separately if you like.
eg.
import pygame.display
pygame.display.init()
etc...
cheers,
On Mon, Apr 7, 2008 at 7:48 AM, Lenard
Disabling psyco makes not difference. I will have another look at the
debugger. I thought I had it traced to draw_ellipse in draw.c, but
neither draw.ellipse or draw.circle appear to be called.
Lenard
René Dudfield wrote:
ah, really? I haven't done it for a while on windows, but it seemed
We didn't use OpenCV (never heard of it) but here's
what we made with a webcam, projector and pygame:
http://algomantra.blogspot.com/2007/11/parab0xx-light-controlled-musical.html
Here we go. This program crashes:
import pygame
color = (0,0,0)
p1 = (-175, 192)
p2 = (1, 248)
surf = pygame.Surface((800, 400), 0, 24)
surf.fill((255, 255, 255))
print About to crash ...
pygame.draw.aaline(surf, color, p1, p2)
print Never gets here!
Lenard
Lenard Lindstrom wrote:
Doesn't work for me, either.
change that line to:
surf = pygame.Surface((800, 400))
Cool.
Here's the traceback:
0x01546d05 in drawaaline (surf=0x0, color=0, x1=0, y1=0, x2=1, y2=248,
blend=1) at src/draw.c:1023
1023DRAWPIX32(pixel, colorptr, brightness1, blend)
(gdb) where
#0 0x01546d05 in drawaaline (surf=0x0, color=0, x1=0, y1=0, x2=1,
y2=248, blend=1)
11 matches
Mail list logo