Public feed #531971

JumpVEL

public cpp v1 · immutable
Raw Edit
·published 2007-06-03 00:46 UTC
rendered paste body
int strength = 12;const float STAIRHEIGHT = 4.1f;const float FLOORZ = 0.867f;const float SLOPEZ = 0.5f;const float WALLZ = 0.2f;const float JUMPVEL = 125.0f;if(strength < 10) {const float JUMPVEL = 120.0f;}else {const float JUMPVEL = 150.0f;}const float GRAVITY = 200.0f;const float STEPSPEED = 1.0f;