Commit 71402c3f by BellCodeEditor

save project

parent a867b5be
Showing with 3 additions and 3 deletions
...@@ -19,12 +19,12 @@ play_batton = stop_img ...@@ -19,12 +19,12 @@ play_batton = stop_img
while True: while True:
if pygame.mixer.music.get_busy() == False:
pygame.mixer.music.play()
for event in pygame.event.get(): for event in pygame.event.get():
if event.type == locals.QUIT: if event.type == locals.QUIT:
exit() exit()
if pygame.mixer.music.get_busy() == False:
pygame.mixer.music.play()
if event.type == locals.KEYDOWN: if event.type == locals.KEYDOWN:
if event.key == locals.K_UP: if event.key == locals.K_UP:
volume += 0.1 volume += 0.1
......
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