Commit 9037e9ea by BellCodeEditor

save project

parent 8ea29aa4
Showing with 6 additions and 0 deletions
...@@ -91,6 +91,10 @@ while True: ...@@ -91,6 +91,10 @@ while True:
pos=(newRect[0],newRect[1]) pos=(newRect[0],newRect[1])
if play_button==stop_img: if play_button==stop_img:
angle+=1 angle+=1
pygame.mixer.music.get_pos()
# 绘制画面 # 绘制画面
screen.blit(bg_img, (0, 0)) # 填充背景 screen.blit(bg_img, (0, 0)) # 填充背景
screen.blit(play_button, (270, 330)) # 暂停按钮 screen.blit(play_button, (270, 330)) # 暂停按钮
...@@ -98,4 +102,5 @@ while True: ...@@ -98,4 +102,5 @@ while True:
screen.blit(last_img, (120, 350)) # 上一曲 screen.blit(last_img, (120, 350)) # 上一曲
screen.blit(next_img, (420, 350)) # 下一曲 screen.blit(next_img, (420, 350)) # 下一曲
# 刷新画面 # 刷新画面
scoreSurf=bafic_font.
pygame.display.update() pygame.display.update()
\ 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