Commit a86932bb by BellCodeEditor

auto save

parent 604cddc6
Showing with 14 additions and 2 deletions
......@@ -87,9 +87,21 @@ while True:
num = 0
pygame.mixer.music.load(path + "\\" + music_list[num])
pygame.mixer.music.play()
angle = angle + 1
angle == 0
#angle = angle + 1
if pygame.mixer.music.get_busy() == False:
angle -= -1
elif pygame.mixer.music.get_busy() == True:
angle += 1
new_logo = pygame.transform.rotate(logo_img, angle)
new_logo0 = new_logo.get_rect(center = (200,120))
new_logo01 = (325,200)
new_logo0 = new_logo.get_rect(center = new_logo01 )
screen.blit(bg_img, (0, 0))
screen.blit(play_button, (270, 330))
screen.blit(new_logo, (new_logo0))
......
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