Commit f7bc655d by BellCodeEditor

save project

parent ec8fb888
Showing with 5 additions and 1 deletions
...@@ -9,7 +9,11 @@ while True: ...@@ -9,7 +9,11 @@ while True:
if event.type == locals.QUIT: if event.type == locals.QUIT:
if t>0: if t>0:
y-=t y-=t
for sprite in block_list:
sprite.rect.x -= 8
screen.blit(sprite.image,(sprite.rect.x sprite.rect.y))
sprite.rect.x <= 0 - sprite.rect.widht:
......
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