12 lines
300 B
TypeScript
12 lines
300 B
TypeScript
import { vec2 } from 'gl-matrix';
|
|
|
|
export const settings = {
|
|
lightCutoffDistance: 600,
|
|
hitDetectionCirclePointCount: 32,
|
|
hitDetectionMaxOverlap: 0.01,
|
|
physicsMaxStep: 5,
|
|
gravitationalForce: vec2.fromValues(0, -0.015),
|
|
maxVelocityX: 1.5,
|
|
maxVelocityY: 8,
|
|
velocityAttenuation: 0.99,
|
|
};
|