the code works for wads and arrow keys you can also increase the jump height and/or fall speed by changing the increases and decreases of gravity
I wanted to make this a real game but now it is just free code file for anyone. feel free to remix and make it a game