Answer the question
In order to leave comments, you need to log in
My circle is not drawn, what's the problem?
import pygame
WIDTH = 800
HEIGHT = 1200
FPS = 30
BLACK=(0, 0, 0)
WHITE=(255, 255, 255)
pygame.init()
screen = pygame.display.set_mode((WIDTH, HEIGHT))
clock = pygame.time.Clock()
screen.fill(BLACK)
running = True
while running:
events=pygame.event.get()
pygame.draw.circle(screen, WHITE, (1000, 250) , 30)
pygame.display. update()
for i in events:
if i.type == pygame.QUIT:
running
= False
clock.tick(FPS)
pygame.quit()
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question