Commit b80f28ad by BellCodeEditor

save project

parent ae6c1774
Showing with 15 additions and 3 deletions
...@@ -60,3 +60,16 @@ while True: ...@@ -60,3 +60,16 @@ while True:
screen.blit(next_img, (420, 350)) # 下一曲 screen.blit(next_img, (420, 350)) # 下一曲
# 刷新画面 # 刷新画面
pygame.display.update() pygame.display.update()
import pygame
from pygame import locals
pygame.init()
slice = pygame.display.set_mode((640,480))
pygame.mixer.load
pygame.mixer.play()
while True:
for event in pygame.event.get():
if event.type== locals.gutf:
exit()
\ No newline at end of file
import pygame import pygame
...@@ -97,5 +97,3 @@ csreen.blit(bg_img,(0,0)) ...@@ -97,5 +97,3 @@ csreen.blit(bg_img,(0,0))
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