Commit 67ff94dc by BellCodeEditor

save project

parent fb09da75
Showing with 9 additions and 8 deletions
...@@ -13,7 +13,7 @@ logo_img = pygame.image.load('logo.png') ...@@ -13,7 +13,7 @@ logo_img = pygame.image.load('logo.png')
pygame.mixer.music.load('歌曲4.ogg') pygame.mixer.music.load('歌曲4.ogg')
while Ture: while True:
for event in pygame.event.get(): for event in pygame.event.get():
if event.type == locals.QUIT: if event.type == locals.QUIT:
exit() exit()
...@@ -39,13 +39,13 @@ while Ture: ...@@ -39,13 +39,13 @@ while Ture:
pygame.mixer.music.pause() pygame.mixer.music.pause()
if pygame.mixer.music.get_busy() == False: if pygame.mixer.music.get_busy() == False:
pygame.mixer.music.play() pygame.mixer.music.play()
screen.bilt(bg_img,(0,0))
screen.bilt(play_button,(270,330))
screen.bilt(logo_img,(170,60))
screen.bilt(last_img,(120,350))
screen.bilt(next_img,(420,350))
pygame.display.update()
\ 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