Reduce game-over fade-out to 5 seconds
authorTJ <git@iam.tj>
Sat, 9 Nov 2013 23:57:25 +0000 (23:57 +0000)
committerTJ <git@iam.tj>
Sat, 9 Nov 2013 23:57:25 +0000 (23:57 +0000)
pygame-scroller.py

index effb1cd..78c7975 100755 (executable)
@@ -210,7 +210,7 @@ while (myGame.play):
   elif keys_pressed[pygame.K_l]:
    auto_scroll = True if auto_scroll == False else False
 
-myGame.soundtrack.fadeout(10000)
-time.sleep(10)
+myGame.soundtrack.fadeout(5000)
+time.sleep(5)
 pygame.display.quit()
 exit(0)