[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [pygame] pygame.mixer on windoes
John Popplewell <john@xxxxxxxxxxxxxxxxxxxxxx> writes:
> You need to create a window:
>
>>>> screen = pygame.display.set_mode((640, 480))
>
> It's a Windows thing ...
Thanks! You are right, I can play sounds now. I knew there were parts
of pygame that only worked if you had a window, for instance you need
a window to capture keyboard events. What got me was that mixer worked
without a window on Linux!
Thanks again.
Ari.
--
Elections only count as free and trials as fair if you can lose money
betting on the outcome.