<filename>tfya87-physics/util.py<gh_stars>1-10

GRAVITY  = 0.981 # pixel / tick^2
X_SPEED = 2.5  # pixel / tick
GRAVITATIONAL_CONSTANT = 0.006

# Non var constants
FRICTION = 0.1
SPRING = 0.8
MAX_MASS = 100
ENERGY_LOSS_SPRING = 0.7
PLAYER_MASS = 10
BLACKHOLE_MASS = 100000
