Commit 9a35c65b by BellCodeEditor

auto save

parent 87977957
Showing with 2 additions and 2 deletions
......@@ -8,7 +8,7 @@ right=pygame.image.load('right.png')
down=pygame.image.load('down.png')
up=pygame.image.load('up.png')
left=pygame.image.load('left.png')
FPSCLOCK=loacls.time.Clock()
FPSCLOCK=locals.time.Clock()
x,y=330,100
while True:
for event in pygame.event.get():
......@@ -20,4 +20,4 @@ while True:
screen.blit(right,(x,y))
pygame.display.update()
x+=30
FPSCLOCK.Clock(3)
FPSCLOCK.tick(3)
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