Commit 9e6b0057 by BellCodeEditor

save project

parent 75f76f89
Showing with 23 additions and 0 deletions
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")
music3=pygame.mixer.Sound("歌曲3.wav")
music4=pygame.mixer.Sound("歌曲4.ogg")
music5=pygame.mixer.Sound("test.wav")
music1.play()
music2.play()
music3.play()
music4.play()
music5.play()
music1.play()
music2.play()
music2.play()
music1.play()
while True:
for event in pygame.event.get():
if event.type==locals.QUIT:
exit()
\ No newline at end of file
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