Commit aa125c81 by BellCodeEditor

save project

parent d688215c
Showing with 14 additions and 13 deletions
...@@ -16,19 +16,20 @@ play_m = play_time//60 ...@@ -16,19 +16,20 @@ play_m = play_time//60
play_s = play_time%60 play_s = play_time%60
info = str(play_m) + ":"+str(play_s) info = str(play_m) + ":"+str(play_s)
import pygame
from pygame import locals
pygame.init()
screen=pygame.display.set_mode((420,540))
music1 = pygame.mixer.Sound("歌曲1.wav")
music2 = pygame.mixer.Sound("歌曲2.wav")
music1.play()
music2.play()
while True:
for event in pygame.event.get():
if event.typ == locals.QUIT:
exit()
......
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