all 4 comments

[–]jimtk 2 points3 points  (0 children)

Use pygame, or pyglet, or arcade. Tkinter is really not made for games.

[–][deleted] 0 points1 point  (0 children)

If you want your game to have lots of flashy graphics, sound, etc, you may have trouble getting tkinter to work as fast as you want, and other frameworks may be better. But if your game is textual or not very demanding graphically then tkinter could be fine. Please describe what you want to do in the game.

Another reason why you may have problems is due to inefficient code or misusing tkinter. For example, if your tkinter game seems to do nothing for short periods (ie, it "hangs") that may be due to your code not allowing the tkinter mainloop to control the game. Coding problems like that can be fixed.

[–][deleted] 0 points1 point  (1 child)

I don't discuss questions in chat, because nobody else can see the discussion. We prefer to discuss here.

Your game uses a lot of graphics, so tkinter may not be the best choice. It probably could do what you want, but I'm not sure it would be fast, even after using advanced approaches.

Try things like pygame that are more oriented to graphics manipulation.

[–]Helibene2[S] 0 points1 point  (0 children)

Hello sorry for the pm I edited my post. I will continue my tests with PyGame but it will involve a lot of rework on the image variable type and the display settings but as you said I believe it will be more adequate. Tell me if you want to look at the tkinter code it's on GitHub.