Commit 44089bae by BellCodeEditor

auto save

parent df84a314
Showing with 3 additions and 1 deletions
......@@ -26,7 +26,9 @@ while True:
index +=1
if index ==5:
index = 0
if rect.x <=0-rect.width:
obstacle = random.choice([bush,stone,cacti])
rect
# 将背景图画上去
screen.blit(background, (0, 0))
......
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