Commit 4728de1b by BellCodeEditor

save project

parent 4f090b0f
Showing with 3 additions and 1 deletions
...@@ -74,9 +74,11 @@ while True: ...@@ -74,9 +74,11 @@ while True:
cube_index+=1 cube_index+=1
cube_index%=len(cube_list) cube_index%=len(cube_list)
if center[1]>7: if center[1]>7:
for i in range(2):
if check(current_pos,2): if check(current_pos,2):
center[1] -= 1 center[1] -= 1
elif check(current_pos,1): else:
if check(current_pos,1):
center[1] += 1 center[1] += 1
# 将背景图画上去 # 将背景图画上去
screen.blit(background, (0, 0)) 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