Arrow keys to move. Drag the slider and click the flag again for a different depth. Feel Free to use this in any of your projects.
I used alia5's platformer script and changed it into a scrolling platformer script.