mirror of
https://git.leinelab.org/Mal/mr-crocs-adventures.git
synced 2025-09-11 02:57:36 +02:00
Double frame rate
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user