Create only an image for a json state
Let pygame just create and store an image (without a gui) for rl, etc.
Put functions together.
pygame.image.save(self.main_window, "screen.png")
and 'draw_gamescreen' method, etc.
Edited by Florian Schröder
Let pygame just create and store an image (without a gui) for rl, etc.
Put functions together.
pygame.image.save(self.main_window, "screen.png")
and 'draw_gamescreen' method, etc.