Commit 8af7d2b7 by BellCodeEditor

auto save

parent d3bb0940
Showing with 2 additions and 1 deletions
......@@ -81,7 +81,7 @@ while True:
num += 1
if num > len(music_list)-1:
num = 0
pygame.mixer.music.load(path+music_list[num])
pygame.mixer.music.load(path+"\\"+music_list[num])
pygame.mixer.music.play()
# +++++++++++++++++++++++++++++++++++++
# 旋转图片(注意:这里要搞一个新变量,存储旋转后的图片)
......@@ -90,6 +90,7 @@ while True:
newRect = new_logo.get_rect(center=(320, 200))
# print(newRect) # rect(170, 65, 300, 270) 左上角坐标、图片大小
pos = (newRect[0], newRect[1])
if
angle += 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