On 10/11/07, AlgoMantra <[EMAIL PROTECTED]> wrote:
> I'm using this to close the Pygame window, but it always sort of hangs
> and then a pop up saying "this program is not responding".
> "pythonw.exe nonresponsive" etc. Why is it this way?
If you open with "edit with IDLE" and use F5, the program w
1. if event.type == pygame.QUIT:
sys.exit()
You may be better off also telling pygame to shutdown. This won't
help much though if you are running pygame programs from single
process IDEs.
if event.type == pygame.QUIT:
pygame.quit()
sys.exit()
http://pygame.org/docs/ref/p
Thanks Kyle. I had not initialized the font system.
It works after I included "pygame.font.init()
I have a couple of other issues with the code I'm working on right
now.
1. if event.type == pygame.QUIT:
sys.exit()
I'm using this to close the Pygame window, but it always sort of hangs
and
Did you initialize the font system with "pygame.font.init()" or just "
pygame.init()"
Fonts should work after that.
On 10/11/07, AlgoMantra <[EMAIL PROTECTED]> wrote:
>
> Hi All,
>
> I keep getting an error from the "myfont = pygame.font.SysFont("Vera",
> 12)" line
> saying "Error: Font not Initia
Hi All,
I keep getting an error from the "myfont = pygame.font.SysFont("Vera", 12)"
line
saying "Error: Font not Initialized".
Could anyone tell me what is wrong here? I'm using Python2.5 on XP.
--
----.-
1/f ))) --.
---...
http://www.algomantra.com