David Négrier
6128f1e431
Making sure Physics is not enabled several times
...
As part of an energy saving measure, we started disabling physics when the character is not moving and enabling physics again only when the character moves.
However, we enabled Physics on each frame the characeter was moving.
As a result, the Physics system would run several times, slowly slowing the computer down.
This fixes this issue by adding a flag to only enable Physics once.
2021-05-18 09:42:01 +02:00
Kharhamel
867f783d5e
Merge pull request #1054 from thecodingmachine/fixWebpackConfig
...
FIX: webpack config NodePolyfillPlugin
2021-05-17 16:33:04 +02:00
kharhamel
f2dca82642
FIX: webpack config NodePolyfillPlugin
2021-05-17 16:30:19 +02:00
Kharhamel
cfc156d022
Merge pull request #1053 from thecodingmachine/fixWebpackConfig
...
FEATURE: we now allow a global zoom level of 1.5
2021-05-17 16:17:07 +02:00
kharhamel
a66d42e158
FEATURE: we now allow a global zoom level of 1.5
2021-05-17 16:11:38 +02:00
Kharhamel
a6786c7494
Merge pull request #1052 from thecodingmachine/fixWebpackConfig
...
FEATURE: added new env variables
2021-05-17 15:12:12 +02:00
kharhamel
a23e72454d
FEATURE: added the env variable DISABLE_DIRTY_CHECKS
2021-05-17 14:47:34 +02:00
Kharhamel
99cc1b488f
Merge pull request #1051 from thecodingmachine/fixWebpackConfig
...
FIX: fixed an error in webpack config
2021-05-17 13:35:57 +02:00
kharhamel
1466d7481c
FIX: fixed an error in webpack config
2021-05-17 12:20:07 +02:00
David Négrier
fe573893a1
Merge pull request #1039 from thecodingmachine/importsNotUsedAsValues
...
Setting "importsNotUsedAsValues": "error"
2021-05-13 19:43:34 +02:00
David Négrier
8aeaf292b3
Merge pull request #1043 from thecodingmachine/webpack_typescript_config
...
Switching the Webpack configuration file to Typescript
2021-05-12 13:42:37 +02:00
David Négrier
4fcbc146ca
Switching the Webpack configuration file to Typescript
...
This switches the Webpack config file from JS to Typescript.
2021-05-12 13:38:32 +02:00
David Négrier
9bf34a5117
Merge pull request #1040 from thecodingmachine/webpack5
...
Upgrading all dependencies in front
2021-05-12 11:55:10 +02:00
David Négrier
06058cfc24
Upgrading Typescript target from ES2015 to ES2017.
2021-05-12 11:45:01 +02:00
David Négrier
664a5b6b91
Upgrading ESLint (and ignoring a bunch of interesting rules)
2021-05-12 11:44:41 +02:00
David Négrier
f57c01dee8
Refactoring Webpack files to remove prod file. The prod file is now inferred from the NODE_ENV variable.
2021-05-12 11:28:21 +02:00
David Négrier
8c1e01566a
Upgrading all dependencies in front
...
Upgrading to Webpack 5, Typescript 4, ...
2021-05-12 10:35:14 +02:00
David Négrier
4d4f845b9e
Setting "importsNotUsedAsValues": "error"
...
Turning the "importsNotUsedAsValues" TS config value to "error".
This will require us to use `import type` instead of `import` when we are importing a value that is only used as a type (and therefore that is dropped by the Typescript compiler).
Why this change?
This is a requirement to be able to use Svelte in the future. See https://github.com/sveltejs/svelte-preprocess/issues/206#issuecomment-663193798
2021-05-12 09:13:25 +02:00
David Négrier
b56e4b5674
Merge pull request #1036 from tabascoeye/patch-1
...
turning noise suppresion back on
2021-05-11 18:14:17 +02:00
TabascoEye
627db30410
turning noise suppresion back on
...
turning AGC off was a good idea, disabling noise suppresion with it was not.
=> should all end up in the "settings" menu in the end
2021-05-11 17:38:28 +02:00
David Négrier
d2b122efe5
Merge pull request #1035 from thecodingmachine/improveDirtyScene
...
FIX: trackDirtyAnims now listen to more generic events
2021-05-11 17:08:29 +02:00
kharhamel
4ec5ad9e33
FIX: trackDirtyAnims now listen to more generic events
2021-05-11 16:44:31 +02:00
David Négrier
0c279750be
Merge branch 'master' of github.com:thecodingmachine/workadventure into develop
...
# Conflicts:
# front/src/Phaser/Game/GameScene.ts
2021-05-11 16:43:34 +02:00
David Négrier
5674b99734
Merge pull request #1034 from thecodingmachine/close_game_webcam_in_jitsi
...
Close game webcam when in Jitsi
2021-05-11 15:56:22 +02:00
David Négrier
ad39b43df3
Closing game webcame in Jitsi
...
When stepping in Jitsi, the game webcam (from mediaManager) was not shut down.
And when enabling/disabling the webcam in Jitsi, the webcam in mediaManager was also
enabled/disabled. This PR fixes those issues.
It also fixes a race condition when closing a Jitsi where the mic/cam would be enabled at the same time.
2021-05-11 14:52:51 +02:00
David Négrier
03a0402b3e
Merge pull request #1033 from thecodingmachine/use_visibility_change_api
...
Refactoring code to use the "visibilitychange" event
2021-05-11 14:50:22 +02:00
Kharhamel
78d4985d10
Merge pull request #1028 from thecodingmachine/fixOnMapExit
...
FIX: triggering a map transition now ignores other map transitions for 500ms
2021-05-11 14:21:06 +02:00
kharhamel
f044b3d249
FIX: triggering a map transition now ignores other map transitions for 500ms
2021-05-11 11:05:05 +02:00
David Négrier
23bf78a026
Refactoring code to use the "visibilitychange" event
...
Using the "visiblitychange" event instead of relying on a "trick" related to RAF being disabled when a window is not open allows us to have cleaner code.
Bonus: the recursive call to "setTimeout" is gone, so the stacktrace growing indefinitely is gone too.
This should make the application a bit more stable.
2021-05-11 10:56:50 +02:00
David Négrier
0229f09ec6
Merge pull request #1032 from thecodingmachine/CheryPickDicussionCircle
...
Improve focus/blur discussion circle
2021-05-11 10:17:15 +02:00
Gregoire Parant
e50aad0ea0
Add WA logo
2021-05-11 10:13:50 +02:00
Gregoire Parant
52b1c6733b
Notification & Camera
...
- Notification when user is first and not focus on the tab
- Camera focus when user is in discussion circle and back on tab with previous config camera settings
- Camera stay blur if user is in discussion circle and not back on the tab
# Conflicts:
# front/src/WebRtc/MediaManager.ts
2021-05-11 10:13:38 +02:00
David Négrier
5f6d9e060c
Merge pull request #1027 from thecodingmachine/fix_resize_helpcamera
...
Fixing "camera popup" always display on resize
2021-05-11 10:05:52 +02:00
grégoire parant
0fd743bcac
HotFix sound meter ( #1029 )
2021-05-10 20:49:17 +02:00
grégoire parant
bd4cf5d7f7
Fix error context sound meter ( #1009 )
2021-05-10 19:55:43 +02:00
David Négrier
0411d5e493
Fixing "camera popup" always display on resize
...
This fixes a bug where the "camera popup" window was always displayed when the screen was resized.
2021-05-10 19:05:01 +02:00
David Négrier
58482f8ae6
Improving Changelog
2021-05-10 19:01:29 +02:00
David Négrier
a95d592659
Merge pull request #1004 from thecodingmachine/dependabot/npm_and_yarn/back/lodash-4.17.21
...
Bump lodash from 4.17.20 to 4.17.21 in /back
2021-05-10 18:57:46 +02:00
David Négrier
4606173ed1
Merge pull request #1003 from thecodingmachine/dependabot/npm_and_yarn/messages/lodash-4.17.21
...
Bump lodash from 4.17.20 to 4.17.21 in /messages
2021-05-10 18:57:30 +02:00
David Négrier
954b87db41
Merge pull request #1002 from thecodingmachine/dependabot/npm_and_yarn/maps/lodash-4.17.21
...
Bump lodash from 4.17.20 to 4.17.21 in /maps
2021-05-10 18:57:16 +02:00
David Négrier
cd8501d80e
Merge pull request #1001 from thecodingmachine/dependabot/npm_and_yarn/uploader/lodash-4.17.21
...
Bump lodash from 4.17.20 to 4.17.21 in /uploader
2021-05-10 18:57:04 +02:00
Kharhamel
6e868408ed
Merge pull request #1018 from thecodingmachine/fixStagingBuild
...
added back automatic deploy of staging 3
2021-05-10 12:45:25 +02:00
kharhamel
d1f1c8f470
added back automatic deploy of staging 3
2021-05-10 12:44:35 +02:00
David Négrier
d2bab4e7ef
Merge pull request #1017 from thecodingmachine/change_xxxplayercontrol_name
...
Renaming restorePlayerControls/disablePlayerControls
2021-05-10 12:35:34 +02:00
Kharhamel
dfc57d0529
Merge pull request #1016 from thecodingmachine/fixStagingBuild
...
added back automatic deploy of staging 2
2021-05-10 12:29:11 +02:00
kharhamel
de1768b7bb
added back automatic deploy of staging 2
2021-05-10 12:20:46 +02:00
David Négrier
c025d1798b
Renaming restorePlayerControls/disablePlayerControls
...
Putting "controls" in the plural form:
- restorePlayerControl => restorePlayerControls
- disablePlayerControl => disablePlayerControls
2021-05-10 12:18:06 +02:00
David Négrier
3a82481d70
Merge branch 'master' of github.com:thecodingmachine/workadventure into develop
2021-05-10 12:10:57 +02:00
David Négrier
c1da898c59
Merge pull request #1015 from thecodingmachine/markdown_doc
...
Splitting scripting API doc in 2
2021-05-10 12:09:20 +02:00
David Négrier
293c57568e
Splitting scripting API doc in 2
...
Splitting scripting API doc in 2 docs:
- scripting.md: contains the explaination on how to enable scripting
- api-reference.md: contains the list of all available functions
2021-05-10 12:08:52 +02:00