At school, we need to create a game using Python and Tkinter as a group project, and as the program gets quite large, I want to know if Tkinter itself caused my problem before trying to find problems in the program.
The problem is that when we start creating units, when several units are displayed simultaneously (say 80) created using the create_rectangle method, if we start moving them around, it becomes really mutable. On the side of the game that we are showing at that time, there are several elements (some of which use small gifs) for several menus, and on the canvas there are units that I just mentioned, and some small buildings also use some small GIFs.
We use the after method to call back a method that removes everything on the canvas, and then it redraws all the buildings and units in their correct positions every 50 milliseconds.
Should there be something that Tkinter easily handles or is this a problem in our program itself?
source share