1#getting pygame and another library we need for setup
2import pygame, sys
3
4#setup(for starting the pygame i'm pretty sure)
5pygame.init()
6
7#making the screen
8width = 1280
9height = 960
10screen=pygame.display.set_mode((width,height))
11
12#this is the color I want to use. you can change it for a different color using a different tutorial
13backGroundColor=pygame.Color("LIGHTBLUE")
14
15#to make the background always work
16while True:
17 #more setup using the special library which is to not give you an error if you quit the code
18 for event in pygame.event.get():
19 if event.type==pygame.QUIT:
20 pygame.quit()
21 sys.exit
22 break
23#over here you color the screen
24 screen.fill(backGroundColor)
25#setup once again(making it go on i think)
26 pygame.display.flip()
27
28#this code was first not tested and i was curious to see if it worked so i ran the code to find out that it was not working lol and then changed it
29