Fix issues
This commit is contained in:
parent
99cdb62928
commit
b774357807
11 changed files with 35 additions and 60 deletions
|
|
@ -4,7 +4,7 @@ export const defaultOptions: Options = {
|
|||
port: 3000,
|
||||
name: 'Test server',
|
||||
playerLimit: 16,
|
||||
npcCount: 8,
|
||||
npcCount: 16,
|
||||
seed: Math.random(),
|
||||
scoreLimit: 500,
|
||||
worldSize: 8000,
|
||||
|
|
|
|||
|
|
@ -124,7 +124,7 @@ export class Player extends PlayerBase {
|
|||
}
|
||||
|
||||
if (this.timeSinceLastMessage > this.messageInterval) {
|
||||
const viewArea = calculateViewArea(this.center, this.aspectRatio, 1.5);
|
||||
const viewArea = calculateViewArea(this.center, this.aspectRatio, 1.2);
|
||||
const bb = new BoundingBox();
|
||||
bb.topLeft = viewArea.topLeft;
|
||||
bb.size = viewArea.size;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue