wasd to move just a script you can use includes gravity
Platform detection is a little wonky and the scripts are pretty unrefined. I would recommend using my Physics Engine instead of this.