Pygame and Tkinter

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Nick Dumas

    Pygame and Tkinter

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    I'm doing a project with Pygame, a Snake game, and I've just taken a
    look at Tkinter and I really like how easy it is to build a GUI with it.
    The thing is that I don't know how I would use Tkinter and Pygame in
    conjunction. They seem to have some overlapping functionality (event
    handling and window drawing) so I'm not sure which tool I should use for
    which. Should I code the GUI and game in Pygame? Could I possibly embed
    the game in a Tkinter window/frame/widget? I would like to hear ideas on
    this; it's a very important project and I'd like to do it well.
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.9 (MingW32)
    Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

    iEYEARECAAYFAkh mXykACgkQLMI5fn dAv9giRwCgn/Zu2MGk+tKxHx+x+ dkxSjvN
    l5MAoITZ0K8ekV6 mgbvOGpTAreznah cv
    =Br5C
    -----END PGP SIGNATURE-----
Working...