Commit 5ca6447a by BellCodeEditor

save project

parent dddf6e23
Showing with 2 additions and 3 deletions
...@@ -16,7 +16,7 @@ logo_img = pygame.image.load('logo.png') # 下一曲按钮 ...@@ -16,7 +16,7 @@ logo_img = pygame.image.load('logo.png') # 下一曲按钮
music_list = [] music_list = []
num = -1 num = -1
fpsclock=pygame.time.Clock()
volume = 0.2 volume = 0.2
pygame.mixer.music.set_volume(volume) pygame.mixer.music.set_volume(volume)
click = 0 click = 0
...@@ -93,4 +93,3 @@ while True: ...@@ -93,4 +93,3 @@ while True:
screen.blit(next_img, (420, 350)) screen.blit(next_img, (420, 350))
pygame.display.update() pygame.display.update()
\ No newline at end of file
fpsclock.tick(130)
\ No newline at end of file
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