I'm trying to build a game on python using pygame. I am stuck with this error:
self._image_surf = pygame.Surface("pygame.png").convert()
ValueError: size needs to be (int width, int height)
Can you help me out?
Lines causing error:
pygame.display.set_caption('Pygame pythonspot.com example')
self._running = True
self._image_surf = pygame.Surface("pygame.png").convert()