Commit 21a59db1 by BellCodeEditor

save project

parent f0e544bf
Showing with 7 additions and 4 deletions
......@@ -54,10 +54,10 @@ while True:
num = 0
pygame.midi.music.load(path + "\\" + music_list[num])
pygame.mixer_music.play()
click = 0
play_button = stop_img
new_logo = pygeme.transform.rotate(logo_img,angle)
newRet = new_logo.get_rect(center=(320,200))
pos (newRet[0],newRet[1])
angle += 1
click += 1
if click % 2 == 0:
......@@ -70,6 +70,9 @@ while True:
if pygame.mixer.music.get_busy() == False:
pygame.mixer.music.play()
# 绘制画面
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