Commit 77165d4f by BellCodeEditor

save project

parent 42d73b23
Showing with 3 additions and 4 deletions
import pygame
pygame.init()
# 初始化pygame,为使用pygame做准备
# 创建一个窗口
from pygame import locals
pygame.init()
screen=pygame.display.set_mode((800,600))
while True:
for event in pygame.event.get():
print(event)
if event.type==locals.QUIT:
exits()
\ No newline at end of file
screen.blitl(background,(0,0))
\ 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