From 26b81cc7881396929c9d59e2f039b4dc3a33a3c1 Mon Sep 17 00:00:00 2001 From: Gregoire Parant Date: Fri, 27 Nov 2020 12:44:32 +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 248540fa..59b15718 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: 20, + min: 40, /** * The optimum rendering rate, in frames per second. */ - target: 20, + target: 40, /** * Use setTimeout instead of requestAnimationFrame to run the game loop. */