Commit abc4d22c by BellCodeEditor

save project

parent 15b7faa9
Showing with 7 additions and 0 deletions
......@@ -17,6 +17,7 @@ music_list = []
path = "C:\\Users\\Administrator\\Desktop\\tast"
filelist = os.listdir(path)
num = -1
my_font=pygame.font.Font("")
for i in filelist:
if i[-4:] == ".wav" or i[-4:] == ".ogg":
music_list.append(i)
......@@ -83,6 +84,12 @@ while True:
num = 0
pygame.mixer.music.load(path + "\\" + music_list[num])
pygame.mixer.music.play()
play_m = play_time//60
play_s = play_time % 60
info = str(play_m) + ":" + str(play_s)
test = font.render(infe,true,())
info = str(play_m)
new_logo = pygame.transform.rotate(logo_img, angle)
newRect = new_logo.get_rect(center=(320,200))
pos = (newRect[0],newRect[1])
......
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