Slide a bounding box through the tile map, stopping at solid tiles.
Center X of the bounding box
Center Y of the bounding box
Half-width of the bounding box
Half-height of the bounding box
Desired horizontal movement
Desired vertical movement
Result with resolved position (x, y) and collision flags (hitX, hitY)
Slide a bounding box through the tile map, stopping at solid tiles.