Commit 272dec02 by BellCodeEditor

auto save

parent 093dad79
Showing with 11 additions and 1 deletions
......@@ -83,11 +83,13 @@ while True:
num = 0
pygame.mixer.music.load(path + "\\" + music_list[num])
pygame.mixer.music.play()
play_time=pygame.mixer.music.get_pos()
play_time=int(play_time/1000)
pm=play_time//60
ps=play_time%60
io=str(pm)+":"+str(ps)
new_logo = pygame.transform.rotate(logo_img, angle)
newRect=new_logo.get_rect(center=(320,200))
pos=(newRect[0],newRect[1])
......@@ -97,6 +99,13 @@ while True:
screen.blit(play_button, (270, 330))
screen.blit(new_logo, pos)
screen.blit(last_img, (120, 350))
screen.blit(next_img, (420, 350))
screen.blit(next_img, (420, 350)
b=random.randint(0,255)
n=random.randint(0,255)
m=random.randint(0,255)
scoreSurf=basic_font.render(info,True,(b,n,m))
screen.blit(scoreSurf,(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