Commit c123cad7 by BellCodeEditor

save project

parent 349f0c91
Showing with 7 additions and 7 deletions
...@@ -6,12 +6,12 @@ pygame.init() ...@@ -6,12 +6,12 @@ pygame.init()
screen = pygame.display.set_mode((640, 480)) screen = pygame.display.set_mode((640, 480))
bg_img = pygame.image.load('background.png') # 背景图 bg_img = pygame.image.load('background.png')
play_img = pygame.image.load('play.png') # 播放按钮 play_img = pygame.image.load('play.png')
stop_img = pygame.image.load('stop.png') # 暂停按钮 stop_img = pygame.image.load('stop.png')
last_img = pygame.image.load('last.png') # 上一曲按钮 last_img = pygame.image.load('last.png')
next_img = pygame.image.load('next.png') # 下一曲按钮 next_img = pygame.image.load('next.png')
logo_img = pygame.image.load('logo.png') # 下一曲按钮 logo_img = pygame.image.load('logo.png')
music_list = [] music_list = []
path = "C:\\Users\\Administrator\\Desktop\\tast" path = "C:\\Users\\Administrator\\Desktop\\tast"
...@@ -27,7 +27,7 @@ play_button = stop_img ...@@ -27,7 +27,7 @@ play_button = stop_img
angle = 0 angle = 0
while True: while True:
for event in pygame.event.get(): for event in pygame.event.get():
if event.type == locals.QUIT: if event.type == locals.QUIT:1
exit() exit()
if event.type == locals.KEYDOWN: if event.type == locals.KEYDOWN:
......
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