Commit a55fb647 by BellCodeEditor

auto save

parent ae5333c7
Showing with 7 additions and 4 deletions
from pygame import locals
pygame.init()
screen=pygame.display.set_mode((660,480))
bg=pygame.image.losd
bg=pygame.image.load("bg.png")
right=pygame.image.load("right.png")
left=pygame.image.load("left.png")
up=pygame.image.load("up.png")
down=pygame.image.load("down.png")
while True:
for event in pygame.event.get():
print(event)
if event.type==local.QUIT:
exit()
screen.blit(bg,(0,0))
pygame.display.update
\ No newline at end of file
pygame.display.update()
\ 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