Commit 2f116374 by BellCodeEditor

auto save

parent afc34917
Showing with 6 additions and 1 deletions
import pygame
form pygame import locals
pygame.init()
screen = pygame.display.set_mofe
\ No newline at end of file
...@@ -14,7 +14,7 @@ logo_img = pygame.image.load('logo.png') # 中间logo ...@@ -14,7 +14,7 @@ logo_img = pygame.image.load('logo.png') # 中间logo
while True: while True:
for event in pygame.event.get(): for event in pygame.event.get():
if event.type == locals.get(): if event.type == locals.QUIT:
exit() exit()
# 绘制画面 # 绘制画面
......
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