This shows a way of scrolling with velocities, it works very well with few glitches. UPDATE: Fixed one glitch: does not move side to side when standing still. UPDATE: Fixed another glitch that deatheater pointed out to me. UPDATE: Now virtually glitch-free! Fixed another glitch so when you sink down after a fall (couldn't fix that) you cant move side to side.