From 961e4d3f57532def0c29ee79fa515f63afc58c0a Mon Sep 17 00:00:00 2001 From: Gregoire Parant Date: Fri, 27 Nov 2020 12:13:46 +0100 Subject: [PATCH] Decrease fps --- front/src/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/front/src/index.ts b/front/src/index.ts index b7ece2f6..248540fa 100644 --- a/front/src/index.ts +++ b/front/src/index.ts @@ -27,11 +27,11 @@ const fps : Phaser.Types.Core.FPSConfig = { /** * The minimum acceptable rendering rate, in frames per second. */ - min: 120, + min: 20, /** * The optimum rendering rate, in frames per second. */ - target: 120, + target: 20, /** * Use setTimeout instead of requestAnimationFrame to run the game loop. */