Commit a735977e by BellCodeEditor

save project

parent d926c853
Showing with 2 additions and 2 deletions
...@@ -55,8 +55,8 @@ while True: ...@@ -55,8 +55,8 @@ while True:
screen.blit(background, (0, 0)) screen.blit(background, (0, 0))
screen.blit(right,l[-1]) screen.blit(right,l[-1])
if x==dx and y==dy: if x==dx and y==dy:
dx=dx.random(0,360) dx=30*random(1,12)-30
dy=dy.random(0,300) dy=30*random(1,10)-30
for i in range(len(l)-1): for i in range(len(l)-1):
screen.blit(body,l[i]) screen.blit(body,l[i])
# 将果实画上去 # 将果实画上去
......
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