Commit c8be4383 by BellCodeEditor

save project

parent c628afab
Showing with 2 additions and 2 deletions
......@@ -17,10 +17,10 @@ while True:
for event in pygame.event.get():
if event.type==locals.QUIT:
exit()
if event.type==K_UP:
if event.type==locals.K_UP:
volume+=0.1
pygame.mixer.music.set_volume(volume)
elif event.type==K_DOWN:
elif event.type==locals.K_DOWN:
volume_=0.1
pygame.mixer.music.set_volume(volume)
if pygame.mixer.music.get_busy()==False:
......
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