Improve multiplayer
This commit is contained in:
parent
220b20476f
commit
37954e2ef1
29 changed files with 321 additions and 267 deletions
|
|
@ -5,13 +5,15 @@ export const settings = {
|
|||
hitDetectionCirclePointCount: 32,
|
||||
hitDetectionMaxOverlap: 0.01,
|
||||
physicsMaxStep: 5,
|
||||
gravitationalForce: vec2.fromValues(0, -0.0055),
|
||||
maxVelocityX: 1,
|
||||
maxAccelerationX: 0.005,
|
||||
maxAccelerationY: 0.01,
|
||||
targetPhysicsDeltaTimeInMilliseconds: 10,
|
||||
gravitationalForce: vec2.fromValues(0, -200),
|
||||
maxVelocityX: 500,
|
||||
maxVelocityY: 750,
|
||||
maxAccelerationX: 16000,
|
||||
maxAccelerationY: 5500,
|
||||
targetPhysicsDeltaTimeInMilliseconds: 15,
|
||||
minPhysicsSleepTime: 4,
|
||||
velocityAttenuation: 0.99,
|
||||
velocityAttenuation: 0.5,
|
||||
frictionMinVelocity: 400,
|
||||
inViewAreaSize: 1920 * 1080 * 3,
|
||||
defaultJumpEnergy: 600,
|
||||
defaultJumpEnergy: 0.75,
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue