[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Doing the pygame shuffle on Windows.



Albeit, not a pygame solution, but have you tried http://www.stackless.com/ ?


On Mon, 20 Dec 2004 18:10:03 -0800, Keith Nemitz <keithn@xxxxxxxxxxx> wrote:
> I'm working on a fullscreen game that at one point drops into window
> mode, launches another application, waits for it to finish, close,
> be-done, etc, and then pop the game back into fullscreen mode.
> 
> The problem I'm having is, the game window refuses to pick up events
> after the other app is finished.
> 
> I've tried:
>         setting grab to 0 before launching and setting grab to 1 after the
> other app quits.
>         getting the current window before launching and setting it as the
> active window after the other app quits. (from c++).
>         using toggle_fullscreen, and using display.set_mode
>         various combinations of the above
>         searching the internet and this list for clues, without luck.
> 
> All that I can thing of otherwise is to quit pygame and re-init it,
> which would cost a of work to the rest of the game. Funny thing is, on
> the Macintosh version, I couldn't stop the events from going to the
> game window... sigh. (fixed that eventually)
> 
> Perhaps someone here can enlighten me? Please, I'm out of ideas.
> 
> I'll post my current code in my next email, should this problem find
> some interest from the pygame community.
> 
> Keith Nemitz
> Mousechief Co.
> 
> 


-- 
Andrew Ulysses Baker
"failrate"