Commit 5e5452fc by BellCodeEditor

save project

parent 86938e52
Showing with 1300 additions and 3 deletions
......@@ -6,7 +6,1304 @@ from pygame import locals
while True:
for event in pygame.event.get()
if event.type == locals.QUIT:
exit()
if pygame.mixer.music.get()==False:
pygame.mixer.music.play()
if event.type==locals.KEYDOWN
volume += 0.1
if volume > 1:
volume =1
pygame.music.set_volume(volume)
if event .key==locals
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