maybe this will reduce lag

This commit is contained in:
biglyderv 2025-01-03 15:05:51 -05:00
parent 49ef29171a
commit 605b377d04

View file

@ -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 = [];