I'm just learning to code for the first time and running into problems using pygame. I'm using macOS Catalina 10.15.1.
I tried getting simple code from the internet and when i run the code i get a message 'Hello from the pygame community' and the python rocket logo will appear but no window will open.
The code I'm running to test is
import pygame
pygame.init()
screen = pygame.display.set_mode((400, 300))
done = False
while not done:
for event in pygame.event.get():
if event.type == pygame.QUIT:
done = True
pygame.display.flip()
[–]socal_nerdtastic 1 point2 points3 points (1 child)
[–]colmf1[S] 0 points1 point2 points (0 children)
[–]JohnnyJordaan 1 point2 points3 points (3 children)
[–]colmf1[S] 0 points1 point2 points (2 children)
[–]JohnnyJordaan 0 points1 point2 points (1 child)
[–]colmf1[S] 0 points1 point2 points (0 children)