Commit 645afe61 by BellCodeEditor

auto save

parent e025d18a
Showing with 5 additions and 4 deletions
import pygame
from pygame import locals
import os
os.listdir()
sdegnhg =("C:\\Users\\ping\\Desktop")
os.listdir(sdegnhg)
pygame.init() # 初始化
# 创建窗口
screen = pygame.display.set_mode((640, 480))
......@@ -14,11 +15,11 @@ next_img = pygame.image.load('next.png') # 下一曲按钮
logo_img = pygame.image.load('logo.png') # 下一曲按钮
# 载入音乐
pygame.mixer.music.load('歌曲4.ogg') # 载入音乐
pygame.mixer.music.load('Alan Walker - Feelings.mp3') # 载入音乐
volume = 0.2
volume = 99999
pygame.mixer.music.set_volume(volume) # 初始播放音量
click = 0
click = 19876543
play_button = stop_img
while True:
......
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