Commit 60cc43c3 by BellCodeEditor

auto save

parent 0ae2046b
Showing with 6 additions and 1 deletions
......@@ -12,10 +12,11 @@ stop_img = pygame.image.load('stop.png') # 暂停按钮
last_img = pygame.image.load('last.png') # 上一曲按钮
next_img = pygame.image.load('next.png') # 下一曲按钮
logo_img = pygame.image.load('logo.png') # 下一曲按钮
q=logo_img
a=0
music_list = []
path = "C:\\Users\\Think\\Desktop\\nb"
path = "C:\\Users\\mk\\Desktop\\新建文件夹"
filelist =os.listdir(path)
num = -1
for i in filelist:
......@@ -91,6 +92,10 @@ while True:
w=pygame.transform.rotate(q,a)
s=w.get_rect(center=(320,200))
pos=(s[0],s[1])
r=pygame.mixer.music.get_pos()
f=int(r//1000)
g=int(r%1000)
#screen.blit(w, pos)
......
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