Linear Collision Resolution in 2D Game Physics