Moving on Stairs in a 2D Side-Scroller
Stairs in side-view games are often poorly implemented slopes with no custom animations. This article lays out in detail how to design intuitive, bug-resistant, and good looking stairs movement on a conceptual level.

Source and More information: Moving on Stairs in a 2D Side-Scroller

Author: indieDB.com