Commit e22d6bc0 by BellCodeEditor

save project

parent 3ad62bb8
Showing with 4 additions and 1 deletions
......@@ -12,7 +12,7 @@ last_img = pygame.image.load('last.png') # 上一曲按钮
next_img = pygame.image.load('next.png') # 下一曲按钮
logo_img = pygame.image.load('logo.png') # 中间logo
pygame.mixer.music.load(歌曲4.ogg)
pygame.mixer.music.load('歌曲4.ogg')
v = 0.8
pygame.mixer.music.set_volume(v)
c = 0
......@@ -36,6 +36,9 @@ while True:
if v>0:
v=0
if event.type==locals.MOUSEBUTTONDOWN:
if event.button == 1:
x,y=event.pos
if x>270 and x<370 and y>350 and y<450:
c+=1
if c%2==0:
p=stop_img
......
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