Commit 6c457af5 by BellCodeEditor

auto save

parent d885b488
Showing with 12 additions and 2 deletions
# 我们都爱夸夸夸 import pygame
\ No newline at end of file from pygame import locals
pygame.init()
a=pygame.display.set_mode((660,480))
b=pygame.image.load('狗.webp')
while True:
for event in pygame.event.get():
print(event)
if event.type == locals.QUIT:
exit()
a.blit(b,(0,0))
pygame.display.update()
File added
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