maybe this will reduce lag
This commit is contained in:
parent
49ef29171a
commit
605b377d04
1 changed files with 2 additions and 2 deletions
4
game.js
4
game.js
|
@ -98,8 +98,8 @@ class Game extends GameBasic {
|
|||
|
||||
onScreen += 4;
|
||||
|
||||
this.width = (this.width * 0.99) + (Math.sqrt(onScreen) * 16);
|
||||
this.height = (this.height * 0.99) + (Math.sqrt(onScreen) * 16);
|
||||
this.width = (this.width * 0.99) + (Math.sqrt(onScreen) * 32);
|
||||
this.height = (this.height * 0.99) + (Math.sqrt(onScreen) * 32);
|
||||
|
||||
let { entities } = this;
|
||||
let entList = [];
|
||||
|
|
Loading…
Reference in a new issue