Commit 11da76b5 by BellCodeEditor

save project

parent 4acc5da7
Showing with 9 additions and 1 deletions
...@@ -73,7 +73,15 @@ while True: ...@@ -73,7 +73,15 @@ while True:
hl[0]+=1 hl[0]+=1
if check(hl) == False: if check(hl) == False:
hl[0]-=1 hl[0]-=1
elif event.key == locals.K_UP:
ssxzy=sxzy
sxzy+=1
if sxzy>=len(shape):
sxzy=0
current_shape = shape[sxzy]
if check(hl) == False:
sxzy=ssxzy
current_shape = shape[sxzy]
# 将背景图画上去 # 将背景图画上去
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