Commit 15cd4445 by BellCodeEditor

save project

parent f1b946b2
Showing with 1 additions and 1 deletions
...@@ -97,7 +97,7 @@ while True: ...@@ -97,7 +97,7 @@ while True:
time=0 time=0
for sprite in block_list: for sprite in block_list:
sprite.rect.x-=8 sprite.rect.x-=8
screen.blit(sprite.image, (prop.rect.x, prop.rect.y)) screen.blit(sprite.image, (sprite.rect.x, sprite.rect.y))
if sprite.rect.x<=0-prop.rect.width: if sprite.rect.x<=0-prop.rect.width:
sprite.kill() sprite.kill()
if pygame.sprite.collide_rect(wukong,sprite): if pygame.sprite.collide_rect(wukong,sprite):
......
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