Mercurial > skaapsteker
changeset 112:394a032aeac7
Reduce bouncing.
author | Simon Cross <hodgestar@gmail.com> |
---|---|
date | Mon, 04 Apr 2011 21:37:41 +0200 |
parents | 601d2a500e4a |
children | a76b8c49f1f9 |
files | skaapsteker/physics.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/skaapsteker/physics.py Mon Apr 04 21:37:31 2011 +0200 +++ b/skaapsteker/physics.py Mon Apr 04 21:37:41 2011 +0200 @@ -18,7 +18,7 @@ mobile = True # whether the velocity may be non-zero gravitates = True # whether gravity applies to the sprite terminal_velocity = (300.0, 300.0) # maximum horizontal and vertial speeds (pixels / s) - bounce_factor = (0.98, 1.05) # bounce factor + bounce_factor = (0.95, 0.95) # bounce factor # collision attributes # Sprite X collides with Y iff (X.collision_layer in Y.collides_with) and X.check_collides(Y)