danya02 / undertale-clone

An attempt to replicate Undertale with Pygame.
GNU General Public License v3.0
11 stars 9 forks source link

Race condition in rendering of screen #1

Closed danya02 closed 6 years ago

danya02 commented 6 years ago

Sometimes when rendering the display, the screen will blink for several frames due to asynchronicity in the drawing methods.

danya02 commented 6 years ago

This can be fixed by implementing a layer-based system whereby each code block will draw on its own layer and these will then be combined.