Commit 6552a61f by BellCodeEditor

save project

parent f310c414
Showing with 2 additions and 2 deletions
......@@ -30,13 +30,13 @@ while True:
if event.type == locals.KEYDOWN:
if event.key == locals.K_UP:
oo += 0.1
if oo>1:
if oo>1:
oo=1
pygame.mixer.music.set_volume(oo)
if event.key == locals.K_DOWN:
oo -= 0.1
if oo<0:
if oo<0:
oo=0
pygame.mixer.music.set_volume(oo)
......
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