Corrupted Castle
Code Snips - Vertical Movement
Code Snips - Vertical Movement
Player Jump - Handles input and applies a vertical force to the player when the jump button is pressed.
Player Gravity - Applies a downward force over time while the player is not on the ground. Also keeps track of when the player has just landed or just left the ground.