Color Quest Mysteries

On the infamous game “Color Quest”, I am sure you have played or heard of it, the player can stay on the wall and slide up it. I cannot figure out how to re-create it. Can someone help me?