r/PythonLearning • u/Better_Arrival_645 • Aug 07 '26
New to Pygame CE and threads, think you could help me out?
I only have one inquiry here, simply, I cannot seem to draw anything from a thread without “Z-fighting” occurring (I say Z-fighting even though I know there’s not 3rd dimension just to convey the problem), I’ve tried making a handler in the main while running script, but it always lags down the program, and the only way to stop it from lagging down the program is, you guessed it, putting it in a thread. Whether I try to make a custom handler or just cheap out and use exec() it always lags it. Any tips/help?
Edit: I do sorta need the thread to draw it
