Commit 39b4098c by BellCodeEditor

save project

parent c4cab620
Showing with 7 additions and 2 deletions
......@@ -14,6 +14,8 @@ while True:
for event in pygame.event.get():
if event.type==locals.QUIT:
exit()
if event.type == locals.KEYDOWN:
if event.key == locals.K_RIGHT
x+=30
screen.blit(bg,(0,0))
screen.blit(c,(210,300))
......@@ -24,4 +26,7 @@ while True:
screen.blit(bb,nn[i])
# screen.blit(bb,(180,180))
pygame.display.update()
shi.tick(3)
\ No newline at end of file
shi.tick(3)
\ 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