If you move a character horizontally and if a higher point is collided with then move the character up and check for collision again. Also check if there is a wall on the next horizontal location.
- Problem with shape/form of the character and slopes(non horizontal and non vertical screen regions) How do you place a character on a slope. Where do you place the feet? I have never programmed slopes before.I need to look this up.