Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

It's really neat to read through the code and try to use it for a game! But I'm still having trouble understanding it.

Specifically, I really want to know about where "duration" of the jump and the "Jump Height" is in the code.

I don't understand how the "jump height" doesn't seem to affect the "duration" of it.

From what I understand, the jump height and duration are set as constants, and the speed at which player is jumping and falling is being calculated based on those constants.