Commit 604cddc6 by BellCodeEditor

auto save

parent 880a19d0
Showing with 4 additions and 1 deletions
......@@ -52,9 +52,11 @@ while True:
if click % 2 == 0:
play_button = stop_img
pygame.mixer.music.unpause()
else:
play_button = play_img
pygame.mixer.music.pause()
if x > 420 and x < 520 and y > 350 and y < 400:
num += 1
if num > len(music_list) - 1:
......@@ -87,9 +89,10 @@ while True:
pygame.mixer.music.play()
angle = angle + 1
new_logo = pygame.transform.rotate(logo_img, angle)
new_logo0 = new_logo.get_rect(center = (200,120))
screen.blit(bg_img, (0, 0))
screen.blit(play_button, (270, 330))
screen.blit(new_logo, (170, 60))
screen.blit(new_logo, (new_logo0))
screen.blit(last_img, (120, 350))
screen.blit(next_img, (420, 350))
......
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