Commit c68404e2 by BellCodeEditor

save project

parent bc0698a1
Showing with 13 additions and 2 deletions
......@@ -83,15 +83,25 @@ while True:
num = 0
pygame.mixer.music.load(path + "\\" + music_list[num])
pygame.mixer.music.play()
new_logo = pygame.transform.rotate(logo_img, angle)
new_logo = pygame.transform.rotamusic1=pygame.Sound(path + "\\" + music_list[num])
music_length=music1.get.length()
music_length=intte(logo_img, angle)
newRect=new_logo.get_rect(center=(320,200))
if play_button==stop_img:
angle += 1
p=pygame.mixer.music.get_pos()
p=int(p/1000)
p_m=p//60
p_s=p%60
info=str(p_m)+":"+str(p_s)
screen.blit(bg_img, (0, 0))
screen.blit(play_button, (270, 330))
screen.blit(new_logo.pos)
screen.blit(logo_img, (170, 60))
screen.blit(last_img, (120, 350))
screen.blit(next_img, (420, 350))
scoreSurf=basice_font.render(info,True,(225,255,255))
screen.blit(scoreSurf),(120,440))
scoreSurf2=basice_font.render("/"+info2,True,(0,0,0)
screen.blit(scoreSurf2),(120,440))
pygame.display.update()
\ No newline at end of file
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