Hi there, I'm trying to make a game similar to Jump King where that game allows the player to hold down the jump button for a few seconds and when released, the power of the jump increases for however long the button was held (although there is a cap for how long this charge can be stored for).
I am having trouble trying to figure out how to impliment this feature into my game.