Commit 53df2df7 by BellCodeEditor

auto save

parent 1821376f
Showing with 15 additions and 0 deletions
import pygame
from pygame import locals
pygame.init()
a=pygame.display.set_mode((500,900))
b=pygame.image.load('狗.webp')
c=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))
a.blit(c,(30,30))
pygame.display.update()
\ No newline at end of file
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