Commit 5f5c9888 by BellCodeEditor

save project

parent 349f0c91
Showing with 3 additions and 3 deletions
...@@ -80,9 +80,9 @@ while True: ...@@ -80,9 +80,9 @@ while True:
if pygame.mixer.music.get_busy() == False: if pygame.mixer.music.get_busy() == False:
num += 1 num += 1
if num > len(music_list)-1: if num > len(music_list)-1:
num = 0 newRect = new_logo.get_rect(rotate=(320, 200))num = 0
pygame.mixer.music.load(path + "\\" + music_list[num]) pygame.mixer.music.load(path + "\\" + music_list[num])print(newRect)
pygame.mixer.music.play() pygame.mixer.music.play()angle += 1
new_logo = pygame.transform.rotate(logo_img, angle) new_logo = pygame.transform.rotate(logo_img, angle)
angle += 1 angle += 1
screen.blit(bg_img, (0, 0)) screen.blit(bg_img, (0, 0))
......
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