Commit 9a437101 by BellCodeEditor

save project

parent f0d37f6f
Showing with 2 additions and 2 deletions
......@@ -29,7 +29,7 @@ class Block(pygame.sprite.Sprite):
self.rect=self.image.get_rect()
self.rect.x=1000
self.rect.y=500-self.rect.height
self.score=1
self.score=10
class Player(pygame.sprite.Sprite):
def __init__(self,image):
......@@ -110,4 +110,4 @@ while True:
text=sss.render('SCORE:'+str(score),True,(0,0,0))
screen.blit(text,(0,0))
pygame.display.update()# 刷新画面
FPS.tick(100)
FPS.tick(50)
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