Is there any way i can use pygame and Tkinter in python together?
I was planning to make a game using both of these modules.i'm trying to make the window and option buttons using Tkinter. the options would let the user choose which game s/he wants to play. then after clicking the option s/he would be directed to another display screen where the game starts.there would be anothe button to return to the main menu made using Tkinter where the user could again choose any game s/he wants to play.

i hope you gets my point.

If pygame and tkinter have event loops, then you have to use threading to separate them.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.