Commit 2aa75956 by BellCodeEditor

save project

parent 71ca007b
Showing with 13 additions and 0 deletions
...@@ -101,3 +101,15 @@ while True: ...@@ -101,3 +101,15 @@ 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()
screen = pygame.display.str_mode((420,520))
music1 = pygame.mixer.Sound("歌曲1,wav")
music2 = pygame.mixer.Sound("歌曲2,wav")
music1.play()
music2.piay()
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