Commit 71949cf4 by BellCodeEditor

auto save

parent b08340ff
Showing with 11 additions and 4 deletions
import pygame import pygame #导入pygame库
from pygame import locals
pygame.init() pygame.init() #pygame初始化
screen = pygame.display.set_mode((660,480)) screen = pygame.display.set_mode((660,480)) #创建游戏窗口
\ No newline at end of file
while True:
for event in pygame.event.get():
print(event)
if event.type == locals.QUIT:
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