listing29-2.py 646 B

1234567891011121314151617181920212223242526
  1. # Configuration file for Squish
  2. # -----------------------------
  3. # Feel free to modify the configuration variables below to taste.
  4. # If the game is too fast or too slow, try to modify the speed
  5. # variables.
  6. # Change these to use other images in the game:
  7. banana_image = 'banana.png'
  8. weight_image = 'weight.png'
  9. splash_image = 'weight.png'
  10. # Change these to affect the general appearance:
  11. screen_size = 800, 600
  12. background_color = 255, 255, 255
  13. margin = 30
  14. full_screen = 1
  15. font_size = 48
  16. # These affect the behavior of the game:
  17. drop_speed = 1
  18. banana_speed = 10
  19. speed_increase = 1
  20. weights_per_level = 10
  21. banana_pad_top = 40
  22. banana_pad_side = 20