Commit b754c7b9 by BellCodeEditor

auto save

parent c01fb03b
Showing with 2 additions and 2 deletions
......@@ -20,7 +20,7 @@ play_button=stop_img
music_list=[]
num=-1
angle=0
path="C:\\Users\\XMBC\\Desktop\\test"
path="G:\\Users\\lenovo\Desktop\\test"
filelist=os.listdir(path)
for file in filelist:
if file[-4:]==".wav" or file[-4:]==".ogg" or file[-4:]==".mp3":
......@@ -107,7 +107,7 @@ while True:
newRect=new_logo.get_rect(center=(320,200))
pos=(newRect[0],newRect[1])
if play_button==stop_img:
angle+=0.5
angle+=100
# 绘制画面
screen.blit(bg_img, (0, 0)) # 填充背景
screen.blit(play_button, (270, 330)) # 暂停按钮
......
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