Commit 6fad0a43 by BellCodeEditor

save project

parent 5ad56528
Showing with 4 additions and 1 deletions
......@@ -18,7 +18,10 @@ while True:
if event.type == locals.QUIT:
exit()
if event.type == locals.KEYDOWN:
if event.key==locals.K_UP
if event.key==locals.K_UP:
volume+=0.2
if event.key==locals.K_DOWN:
volume-=0.2
if pygame.mixer.music.get_busy()==False:
pygame.mixer.music.play()
......
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