Pygame and Tk

Syver Enstad syver-en+usenet at online.no
Tue Mar 11 00:34:30 CET 2003


"Eric Mattes" <ericmattes at yahoo.com> writes:

> Hi everyone.
> 
> I'd like to know if Pygame and Tk can be used for the same window. Can
> I
> 
> have a pygame window with a Tk GUI surrounding it?
> 
> If not, is it difficult to create a mouse-driven GUI in pygame? anyone
> know
> 
> of a good example/tutorial?
> 
> Thank you so much!!!
> -Eric

An idea Eric...  

How about using an ordinary Tk application to
configure the game, pickling the configured objects to disk, and
starting the PyGame application (with os.system or something) that
just consists of the game, which unpickles the objects and uses them

-- 

Vennlig hilsen 

Syver Enstad




More information about the Python-list mailing list