[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [pygame] pygame crashing after a few seconds
Though I am unfamiliar with the book I can still make on suggestion. Try
setting the SDL_VIDEODRIVER environment variable to windib before
running any examples. From the dos prompt:
set SDL_VIDEODRIVER=windib
Lenard
Emmanuel Kanter wrote:
Guys, just joined the list, so, first of all, sorry about my english
(I'm a brazilian user).
I'm following the examples in the Beggining Game Programming with
Python and Pygame book, but I'm having some problems... whenever the
program uses graphic mode, for example, the program that writes random
pixels of random colors on the screen (with locking/unlocking), and
runs for a while (and by that I mean something like 20-30 seconds), my
PC reboots. I'm writing with python 2.5 and pygame 1.8.1, using Idle
to write but running on dos prompt, using windows XP. Since it just
crashes out of the blue, I don't know what could it be...