Add basic multiplayer
This commit is contained in:
parent
0f0a1eaf67
commit
46a48e7c15
113 changed files with 1362 additions and 754 deletions
13
shared/src/settings.ts
Normal file
13
shared/src/settings.ts
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
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,
|
||||
inViewAreaSize: 1920 * 1080 * 3,
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue