hey I'm making a simple pygame and can't understand why this part of my code is showing up as an error.
while not done:
pygame.draw.ellipse(screen, colour, [x, y, width, height])
width += math.cos(count) * 10
x -= (math.cos(count) * 10) / 2
height += math.sin(count) * 10
y -= (math.sin(count) * 10) / 2
count += 0.5
specifically screen.fill(black) keeps coming back as error :display Surface quit.
any help would be much appreciated. thank you.