Commit 42172b98 by BellCodeEditor

save project

parent c8c34133
Showing with 2 additions and 1 deletions
......@@ -20,6 +20,7 @@ font = pygame.font.Font('STKAITI.TTF', 60) # 字体
center=[2,8]
curr_shape=[(0,-1),(0,0),(0,1),(-1,0)]
curr_1=[(0,-1),(0,0),(0,1),(0,2)]
while True:
......@@ -39,7 +40,7 @@ while True:
# 将背景图画上去
screen.blit(background,(0,0))
curr_poss=[]
for cube in curr_shape:
for cube in curr_1:
aa=(cube[0]+center[0],cube[1]+center[1])
curr_poss.append(aa)
for cube in curr_poss:
......
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