Commit 7a503dc6 by BellCodeEditor

save project

parent 1746c838
Showing with 3 additions and 2 deletions
......@@ -36,9 +36,10 @@ while True:
if center[0] < 25:
center[0]=center[0]+1
pygame.draw.rect(Surface,color,rect,width = 0)
# 将背景图画上去
# 将背景图画上去,.
screen.blit(background,(0,0))
pygame.draw.rect
pygame.draw.rect(screen(255,0,0),(0,0,0),0)
pygame.draw.rect(screen(255,255,255),(0,0,0),1)
curr_pos = []
for cube in curr_shape:
aa = (cube[0] + center[0],cube[1] + center[1])
......
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