Commit a7920be8 by BellCodeEditor

save project

parent 349f0c91
......@@ -76,6 +76,24 @@ while True:
click += 2
else:
click += 1
if x > 120 and x < 220 and y > 350 and y < 400:
num -= 1
if num < 0:
num = len(music_list) - 1
pygame.mixer.music.load(path + "\\" + music_list[num])
pygame.mixer.music.play()
click = 0
play_button = stop_img
if x > 420 and x < 520 and y > 350 and y < 400:
num -= 1
if num >len(music_list)-1:
num = 0
pygame.mixer.music.load(path + "\\" + music_list[num])
pygame.mixer.music.play()
click = 0
play_button = stop_img
if pygame.mixer.music.get_busy() == False:
num += 1
......@@ -84,11 +102,12 @@ while True:
pygame.mixer.music.load(path + "\\" + music_list[num])
pygame.mixer.music.play()
new_logo = pygame.transform.rotate(logo_img, angle)
newRect = (newRect[0], newRect[1])
pos = (newRect[0], newRect[1])
angle += 1
screen.blit(bg_img, (0, 0))
screen.blit(play_button, (270, 330))
screen.blit(logo_img, (170, 60))
screen.blit(last_img, (120, 350))
screen.blit(next_img, (420, 350))
pygame.display.update()
\ No newline at end of file
++ "b/\346\257\233\344\270\215\346\230\223 - \347\273\231\344\275\240\347\273\231\346\210\221 (1).mp33.64MB.url"
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