Commit f2c8de4c by BellCodeEditor

save project

parent 76515d5a
Showing with 0 additions and 6 deletions
...@@ -87,12 +87,6 @@ while True: ...@@ -87,12 +87,6 @@ while True:
index = old_index index = old_index
current_shape = shape[index] current_shape = shape[index]
count +=1
if count % FPS ==0:
center[0] = center[0] +1
if check(center) == False:
center[0] = center[0] - 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