Side srcoller slopes

hey, i got a problem with the side scroller code that was in the kirupa side scrolelr tutorial, you cant walk up slopes or go up a curved surfaces which makes the game less real if all the surfaces are perfectly flat, does anybody knowany way to change this?