I suppose left and right will be grid movement. But.
Will the jump be a grid movement ? How do you see that ?
Will falling be a grid movement ? Explain the idea ?
If a yes to those questions, then it is just grid movement in 3 directions. The down direction just happens till the object meets an overlap with ground on an imagepoint. Collissions cant happen. Everything will be a legal move untill a overlap occurs.