Commit 3ed22cd0 by BellCodeEditor

save project

parent 7542d0e8
Showing with 4 additions and 4 deletions
......@@ -79,10 +79,10 @@ while True:
#+++++++++++++++++++++++++++++++++++++++++++++++++++++
# 创建障碍物对象
if zhangai.rect.x <= 0-zhangai.rect.width:
zhangai = Block(bush, stone, cacti)
zhangai.rect.x -= 8
screen.blit(zhangai.image, (zhangai.rect.x, zhangai.rect.y))
#if zhangai.rect.x <= 0-zhangai.rect.width:
#zhangai = Block(bush, stone, cacti)
#zhangai.rect.x -= 8
#screen.blit(zhangai.image, (zhangai.rect.x, zhangai.rect.y))
#+++++++++++++++++++++++++++++++++++++++++++++++++++++
time+=1
if time>=60:
......
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