Fix issues
This commit is contained in:
parent
57d7009342
commit
42e4de28b5
15 changed files with 175 additions and 145 deletions
|
|
@ -1,4 +1,3 @@
|
|||
import { Command } from '../commands/command';
|
||||
import { Id } from '../communication/id';
|
||||
import { serializable } from '../serialization/serializable';
|
||||
|
||||
|
|
|
|||
|
|
@ -19,10 +19,6 @@ export class PlanetBase extends GameObject {
|
|||
vec2.scale(this.center, this.center, 1 / vertices.length);
|
||||
}
|
||||
|
||||
public setOwnership(value: number) {
|
||||
this.ownership = value;
|
||||
}
|
||||
|
||||
public generatedPoints(value: number) {}
|
||||
|
||||
public static createPlanetVertices(
|
||||
|
|
|
|||
|
|
@ -12,12 +12,11 @@ const redPlanetColor = redColorDim;
|
|||
|
||||
export const settings = {
|
||||
lightCutoffDistance: 600,
|
||||
maxVelocityX: 1000,
|
||||
maxVelocityY: 1000,
|
||||
radiusSteps: 500,
|
||||
spawnDespawnTime: 0.7,
|
||||
worldRadius: 10000,
|
||||
objectsOnCircleLength: 0.002,
|
||||
updateMessageInterval: 1 / 25,
|
||||
planetEdgeCount: 7,
|
||||
playerKillPoint: 10,
|
||||
takeControlTimeInSeconds: 4,
|
||||
|
|
@ -29,9 +28,9 @@ export const settings = {
|
|||
planetControlThreshold: 0.2,
|
||||
playerMaxHealth: 100,
|
||||
maxGravityStrength: 10000,
|
||||
maxAcceleration: 60000,
|
||||
maxAcceleration: 120000,
|
||||
playerMaxStrength: 80,
|
||||
endGameDeltaScaling: 4,
|
||||
endGameDeltaScaling: 2,
|
||||
playerDiedTimeout: 5,
|
||||
playerStrengthRegenerationPerSeconds: 80,
|
||||
projectileMaxStrength: 40,
|
||||
|
|
@ -47,58 +46,50 @@ export const settings = {
|
|||
npcNames: [
|
||||
'Adam',
|
||||
'Andrew',
|
||||
'Blaise',
|
||||
'Clarence',
|
||||
'Dean',
|
||||
'Dustin',
|
||||
'Elliot',
|
||||
'Elmer',
|
||||
'Ernie',
|
||||
'Eugene',
|
||||
'Fergus',
|
||||
'Ferris',
|
||||
'Ethan',
|
||||
'Frank',
|
||||
'Frasier',
|
||||
'Fred',
|
||||
'George',
|
||||
'Graham',
|
||||
'Harold',
|
||||
'Harvey',
|
||||
'Henry',
|
||||
'Mingan',
|
||||
'Irving',
|
||||
'Irwin',
|
||||
'Jason',
|
||||
'Jenssen',
|
||||
'Josh',
|
||||
'Ladislaus',
|
||||
'Larry',
|
||||
'Lester',
|
||||
'Martin',
|
||||
'Marvin',
|
||||
'Neil',
|
||||
'Nick',
|
||||
'Niles',
|
||||
'Norm',
|
||||
'Oliver',
|
||||
'Blaise',
|
||||
'Opie',
|
||||
'Orin',
|
||||
'Pat',
|
||||
'Perry',
|
||||
'Ron',
|
||||
'Ryan',
|
||||
'Sisyphus',
|
||||
'Tim',
|
||||
'Toby',
|
||||
'Ulric',
|
||||
'Ulysses',
|
||||
'Uri',
|
||||
'Waldo',
|
||||
'Wally',
|
||||
'Walt',
|
||||
'Wesley',
|
||||
'Yanni',
|
||||
'Yogi',
|
||||
'Yuri',
|
||||
'Dean',
|
||||
'Dustin',
|
||||
'Ethan',
|
||||
'Harold',
|
||||
'Henry',
|
||||
'Irving',
|
||||
'Jason',
|
||||
'Jenssen',
|
||||
'Josh',
|
||||
'Martin',
|
||||
'Nick',
|
||||
'Norm',
|
||||
'Orin',
|
||||
'Pat',
|
||||
'Perry',
|
||||
'Ron',
|
||||
'Shawn',
|
||||
'Tim',
|
||||
'Will',
|
||||
'Wyatt',
|
||||
],
|
||||
|
|
@ -111,6 +102,6 @@ export const settings = {
|
|||
},
|
||||
palette: [declaColor, neutralColor, redColor],
|
||||
paletteDim: [declaColorDim, neutralColor, redColorDim],
|
||||
targetPhysicsDeltaTimeInSeconds: 1 / 100,
|
||||
targetPhysicsDeltaTimeInSeconds: 1 / 200,
|
||||
inViewAreaSize: 1920 * 1080 * 4,
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue