[gameprogrammer] How to have hills in a tiled game

Hey guys,

I'm making a 2d sidescroller and the maps are just tiled in the normal
fashion like...

1 1 1 1 1 1 1
1 0 0 0 0 0 0
1 0 0 0 0 0 0
1 0 0 0 1 0 0
1 1 1 1 1 1 1

where each number has attributes (like if it's solid or not) as well as art.

This makes for really rectangular map though.

Does anyone know how to make hills and slopes in a 2d sidescroller? like the
techniques generaly used for that, something like how mario 3 worked, or
just being able to have 45 degree slants would be better than nothing.

thanks a bunch!

Other related posts: