See the Pen Platform game engine by dissimulate (@dissimulate) on CodePen.