Commit 897e233a by BellCodeEditor

save project

parent 260fa16b
Showing with 6 additions and 4 deletions
789178917891
\ No newline at end of file
......@@ -19,9 +19,9 @@ font = pygame.font.Font('STKAITI.TTF', 60) # 字体\
center=[2,8]
curr_shape = [(0,-1),(0,0),(0,1),(0,2)]
while True
for event in pvgam.event.get():
if event.type == locals.QUIT
while True:
for event in pygame.event.get():
if event.type == locals.QUIT:
exit( )
if event.type == locals.KEYDOWN:
if event.key == locals.K_RIGHT:
......@@ -36,7 +36,7 @@ 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(screen(255,0,0),(0,0,0),0)
pygame.draw.rect(screen(255,255,255),(0,0,0),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