Fix bugs and add improvements

This commit is contained in:
schmelczerandras 2020-10-13 12:47:25 +02:00
parent 555be9d602
commit ba4dd5c470
10 changed files with 26 additions and 21 deletions

View file

@ -5,7 +5,7 @@ export const settings = {
lightCutoffDistance: 600,
physicsMaxStep: 5,
gravitationalForce: vec2.fromValues(0, -3000),
maxVelocityX: 4800,
maxVelocityX: 2000,
maxVelocityY: 3650,
polygonEdgeCount: 8,
projectileSpeed: 2000,
@ -46,11 +46,11 @@ export const settings = {
rgb255(114, 73, 30),
rgb255(75, 75, 75),
],
maxAccelerationX: 200000,
maxAccelerationX: 2000000,
maxAccelerationY: 20500,
targetPhysicsDeltaTimeInMilliseconds: 20,
minPhysicsSleepTime: 4,
velocityAttenuation: 0.33,
velocityAttenuation: 0.1,
inViewAreaSize: 1920 * 1080 * 3,
defaultJumpEnergy: 0.25,
};