Grapple prototype #2
This was a project I took on to really learn 2D geometry hit detection. The level is defined using a series of line segments and curves and the player's grappling hook reliably latches onto (and even slightly auto-aims towards) the level geometry. High-speed objects are accurately interpolated so that nothing can ever fall through the level and changes to velocities due to collisions are accurately calculated and applied. Just a chance to learn.