Friction in physics

The new friction physics kick in when the sprite has velocity and no acceleration. It linearly decreases the speed based on the friction value.