testing white background colour
This commit is contained in:
parent
d96c81d2ea
commit
64f645a76d
@ -32,6 +32,7 @@ pygame.init()
|
|||||||
#colors
|
#colors
|
||||||
greenColor = pygame.Color(42, 217, 13)
|
greenColor = pygame.Color(42, 217, 13)
|
||||||
blackColor = pygame.Color(0, 0, 0)
|
blackColor = pygame.Color(0, 0, 0)
|
||||||
|
whiteColor = pygame.Color(255, 255, 255)
|
||||||
yellowColor = pygame.Color(255, 215, 0)
|
yellowColor = pygame.Color(255, 215, 0)
|
||||||
grayColor = pygame.Color(196, 202, 206)
|
grayColor = pygame.Color(196, 202, 206)
|
||||||
brownColor = pygame.Color(177, 86, 15)
|
brownColor = pygame.Color(177, 86, 15)
|
||||||
@ -176,7 +177,7 @@ def toggle_fullscreen():
|
|||||||
return screen
|
return screen
|
||||||
|
|
||||||
def clearScreen():
|
def clearScreen():
|
||||||
screen.fill(blackColor)
|
screen.fill(whiteColor)
|
||||||
return
|
return
|
||||||
|
|
||||||
def handle_events():
|
def handle_events():
|
||||||
|
Loading…
Reference in New Issue
Block a user