Commit bcbe53a6 by BellCodeEditor

save project

parent bf13e0d2
Showing with 27 additions and 2 deletions
import pygame
from pygame import locals
screen = pygame.display.set_mode((1000,600))
pygame.display>set_caption("bellcode")
while True:
for event in pygame.event.get():
if event.type == locals.QUIT:
exit
import pygame
from pygame import locals
pygame.init()
sceen = 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.type==locals.QUIT:
exit()
......@@ -8,4 +8,4 @@ playtime=int(play_time/1000)
play_m = play_time//60
play_s= play_time%60
info = str(play_m)+':'+str(play_s)
\ No newline at end of file
info = str(play_m)+':'+str(play_s)
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