show an x on screen at startup
This commit is contained in:
parent
df02992225
commit
8ce77656ae
@ -1,3 +1,5 @@
|
|||||||
|
import time
|
||||||
|
|
||||||
import pygame
|
import pygame
|
||||||
|
|
||||||
|
|
||||||
@ -15,6 +17,12 @@ def main():
|
|||||||
window = pygame.display.set_mode((720, 720), pygame.FULLSCREEN)
|
window = pygame.display.set_mode((720, 720), pygame.FULLSCREEN)
|
||||||
rainbow_pos = 0
|
rainbow_pos = 0
|
||||||
|
|
||||||
|
window.fill((0, 0, 0))
|
||||||
|
pygame.draw.line(window, (255, 255, 255), (0, 0), (720, 720), 5)
|
||||||
|
pygame.draw.line(window, (255, 255, 255), (0, 720), (720, 0), 5)
|
||||||
|
pygame.display.flip()
|
||||||
|
time.sleep(1)
|
||||||
|
|
||||||
running = True
|
running = True
|
||||||
while running:
|
while running:
|
||||||
clock.tick(60)
|
clock.tick(60)
|
||||||
|
Loading…
Reference in New Issue
Block a user