Move image with Pygame by file picked up by askfileopen()
well, I was fine, making my Pygame app with TkInter to get the file the user wants to open. is a .png or .jpeg file
my app is made up of def
, it means that I use them to call them in while True
in the main file
My time scale will continously change based on mp3 position, but creates lag
I cant tell where the lag is coming from. in the function update_time
it sets the position of the time scale. The problem arises with the command in the function. set_time
is the function within the time scale, but it sets the time. that means every time update_time
is called it sets the time. I dont want that because it is creating lag. Could someone tell me how to get rid of this lag?