Commit 1a0d6c30 by BellCodeEditor

save project

parent e2e3dde5
Showing with 4 additions and 3 deletions
...@@ -2,8 +2,9 @@ import pygame ...@@ -2,8 +2,9 @@ import pygame
from pygame import locals from pygame import locals
pygame.init() pygame.init()
SBpygame=pygame.display.set_mode((1724,500)) SBpygame=pygame.display.set_mode((1680,970))
while True: while True:
for event in pygame.event.get(): for event in pygame.event.get():
print(event) print(event)
if event.type if event.type==locals.QUIT:
\ No newline at end of file exit()
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment