projects
/
libreadventure.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8906e2
)
Set Phaser resolution to 2
author
Ruben Rodriguez
<ruben@gnu.org>
Fri, 26 Feb 2021 17:25:34 +0000
(12:25 -0500)
committer
Ruben Rodriguez
<ruben@gnu.org>
Fri, 26 Feb 2021 17:25:34 +0000
(12:25 -0500)
front/src/Enum/EnvironmentVariable.ts
patch
|
blob
|
blame
|
history
diff --git
a/front/src/Enum/EnvironmentVariable.ts
b/front/src/Enum/EnvironmentVariable.ts
index 2fbf797922b7a20b35a7bf0539ca31d30e59c735..d1b6b70dcd4a3cb2f2b96313eb81df5c8035d8b3 100644
(file)
--- a/
front/src/Enum/EnvironmentVariable.ts
+++ b/
front/src/Enum/EnvironmentVariable.ts
@@
-1,6
+1,6
@@
const DEBUG_MODE: boolean = process.env.DEBUG_MODE as any === true;
const API_URL = process.env.API_URL || "http://api.workadventure.localhost";
-const RESOLUTION =
3
;
+const RESOLUTION =
2
;
const ZOOM_LEVEL = 1/*3/4*/;
const POSITION_DELAY = 200; // Wait 200ms between sending position events
const MAX_EXTRAPOLATION_TIME = 250; // Extrapolate a maximum of 250ms if no new movement is sent by the player