Hanusiak Piotr
43b821a4f2
fixed canvasBounds being wrongly calculated due to the resize / setZoom execution order
2022-02-01 15:49:23 +01:00
Gregoire Parant
dfd594ec17
Fix screen sharing spinner
...
Check if the peer connection is already connected status. In this case, the status store must be set to 'connected'.
In the case or player A send stream and player B send a stream, it's same peer connection, also the status must be changed to connect.
Signed-off-by: Gregoire Parant <g.parant@thecodingmachine.com>
2022-01-28 18:33:42 +01:00
Alexis Faizeau
34c077f470
Merge pull request #1789 from thecodingmachine/fix-errors
...
Fix i18n error message
2022-01-28 15:47:07 +01:00
grégoire parant
790c7175cf
Merge pull request #1785 from thecodingmachine/fix_camera_light
...
Remove hideMyCamera function, not working correctly
2022-01-28 15:25:56 +01:00
Alexis Faizeau
bea99711e4
Fix i18n error message
2022-01-28 15:11:57 +01:00
Gregoire Parant
fc8330a3ad
Remove hideMyCamera function, not working correctly
...
Signed-off-by: Gregoire Parant <g.parant@thecodingmachine.com>
2022-01-28 12:01:58 +01:00
David Négrier
9a7140b027
Fixing users walking infinitely
...
Now, if no event is received from the Pusher after MAX_EXTRAPOLATION_TIME, the
moving variable of the user is set to false.
So if a client does not send an update on time (for instance if the user switched
tab while walking), on the screen of others, the woka will appear to stop.
2022-01-28 11:10:47 +01:00
Alexis Faizeau
4f068c72be
Co-website management move to Svelte
2022-01-27 16:34:58 +01:00
Alexis Faizeau
0bf1acfefb
Improve game overlay UI
2022-01-27 16:34:58 +01:00
David Négrier
ef2f8b141f
Merge pull request #1743 from thecodingmachine/move-to-from-hash-parameter
...
Move to from hash parameter
2022-01-25 14:12:26 +01:00
Alexis Faizeau
2312d2e129
Merge pull request #1629 from thecodingmachine/translator
...
Translator: i18n
2022-01-25 09:48:48 +01:00
Alexis Faizeau
446b4639c7
Implement typesafe-i18n
2022-01-24 18:59:28 +01:00
Hanusiak Piotr
b5887bceb4
PR fixes
2022-01-24 17:03:14 +01:00
Alexis Faizeau
4829964127
Display correctly the username on Brave browser
2022-01-24 16:55:58 +01:00
Hanusiak Piotr
3cc38e6bbe
Merge branch 'develop' into move-to-from-hash-parameter
2022-01-24 16:31:03 +01:00
David Négrier
d8327d1b72
Apply suggestions from code review
...
Fixing missing return attribute in doc
2022-01-22 22:20:41 +01:00
David Négrier
51c3f1d972
Refactoring translator to use "_" instead of "translator._".
...
This is shorter and pollutes less the code.
2022-01-21 17:09:29 +01:00
Nolway
bd01a35cc6
Add en-US translations
2022-01-21 17:09:29 +01:00
Nolway
41ef9fd49f
Replace cookie by local storage to store language
2022-01-21 17:09:29 +01:00
Nolway
8286cdd41d
Add WA.player.language in the API
2022-01-21 17:09:29 +01:00
Nolway
8a2767ef40
Implement Translator: i18n system
2022-01-21 17:09:29 +01:00
Hanusiak Piotr
e87c0a07a4
moveTo parameter working if layer is found
2022-01-20 15:10:54 +01:00
Hanusiak Piotr
bf6b9a7c83
do not call joystick logic if not on mobile
2022-01-20 09:39:41 +01:00
Hanusiak Piotr
62b00f852d
throw an exception if no path found when using player.moveTo command. Cancelling path following no longer rejects the promise
2022-01-19 17:22:28 +01:00
Hanusiak Piotr
8f40e7a33c
reject path following path promise if interrupted
2022-01-19 14:16:05 +01:00
Hanusiak Piotr
c023c4f8fd
optional following path movement speed
2022-01-19 13:53:06 +01:00
Hanusiak Piotr
9b94705177
manually resolve promise on certain events for player path following
2022-01-19 13:09:17 +01:00
Hanusiak Piotr
f78392ceab
Pathfinding manager will now return path steps in pixel units by default
2022-01-19 12:30:08 +01:00
Hanusiak Piotr
f96eac4737
Merge branch 'walking-shortest-path' into feature-move-character-api
2022-01-19 10:54:19 +01:00
Hanusiak Piotr
9e5d8f5d9c
cr fixes
2022-01-19 10:37:56 +01:00
Hanusiak Piotr
29e44d3023
Player move API wip
2022-01-19 09:34:06 +01:00
Hanusiak Piotr
1c4e803dd7
move to the nearest tile if possible
2022-01-18 12:33:46 +01:00
Hanusiak Piotr
67cd0dfb29
disable context menu. Move player only on left-click
2022-01-18 11:18:52 +01:00
Hanusiak Piotr
391fe7eed3
for pathfinding we are now taking into consideration all tiles, looking for 'collides' property
2022-01-18 10:26:40 +01:00
Hanusiak Piotr
7576cea7e0
removed obsolete comments. Pass path as reference
2022-01-17 16:11:08 +01:00
Hanusiak Piotr
3e81278e72
proper player movement on click
2022-01-17 16:04:59 +01:00
Hanusiak Piotr
e557e8ea72
player following the path wip
2022-01-17 14:36:00 +01:00
Hanusiak Piotr
77ee39110f
handle pointerup event
2022-01-17 11:52:02 +01:00
Hanusiak Piotr
28543be121
Player class is no longer dependent on UserInputManager
2022-01-17 11:37:28 +01:00
Hanusiak Piotr
173d10738d
created interface to implement for UserInputManager
2022-01-17 11:16:42 +01:00
Hanusiak Piotr
000b2cfe73
created PathfindingManager. WIP
2022-01-14 12:49:18 +01:00
David Négrier
82c2d21423
Merge pull request #1654 from thecodingmachine/feature-camera-management
...
Feature camera management
2022-01-14 11:57:05 +01:00
Hanusiak Piotr
7ee41bad30
change setViewport action to set for CameraAPI
2022-01-14 11:41:37 +01:00
Hanusiak Piotr
17e9c3c586
handle instant camera view change
2022-01-14 11:31:49 +01:00
Hanusiak Piotr
c2b2385e96
Camera now centers on focusable zone properly
2022-01-13 18:54:38 +01:00
Hanusiak Piotr
a164cedf3f
Camera FocusTarget width and height are now optional
2022-01-13 16:43:58 +01:00
Hanusiak Piotr
d99930a67e
save last zoom value if setting the camera viewport without locking it
2022-01-13 16:17:49 +01:00
Hanusiak Piotr
d62b116e5d
merge setPosition and focusOn into setViewport
2022-01-13 16:08:16 +01:00
David Négrier
57d2dec756
Merge pull request #1724 from thecodingmachine/master
...
Backport fix 2022-01-13
2022-01-13 15:59:54 +01:00
Hanusiak Piotr
a1c96b0524
merged develop
2022-01-13 10:44:06 +01:00