Commit 38da66ef by BellCodeEditor

save project

parent 6156ea87
Showing with 2 additions and 2 deletions
......@@ -15,7 +15,7 @@ pygame.mixer.music.load('歌曲4.ogg')
while True:
for event in pygame.event.get():
if event.tyge==locals.QUIT:
if event.type == locals.QUIT:
exit()
volume = 0.2
pygame.mixer.music.set_volume(volume)
......@@ -59,4 +59,4 @@ while True:
screen.blit(last_img, (120, 350)) # 上一曲
screen.blit(next_img, (420, 350)) # 下一曲
# 刷新画面
pygame.display.update
pygame.misplay.upmate
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