Double frame rate
This commit is contained in:
parent
598dbc67ac
commit
2fe9b63c70
@ -163,7 +163,7 @@ let level = Level.createFromFile(Setting.LEVELS_LOCATION + LEVEL[levelIndex]);
|
||||
|
||||
const GAME_SPEED = 1;
|
||||
const GRAVITY = level.gravity;
|
||||
let fps = 60;
|
||||
let fps = 120;
|
||||
const browser = navigator.userAgent.indexOf('Firefox') === -1 ? 'Chrome' : 'Firefox';
|
||||
let frameDuration;
|
||||
let lastRendered = undefined;
|
||||
|
Loading…
Reference in New Issue
Block a user