_Bastler
301eaba90e
Merge branch 'develop' of github.com:thecodingmachine/workadventure into develop
2022-02-02 16:42:18 +01:00
Hanusiak Piotr
a7b0516ac4
move with touch or right click
2022-02-02 16:38:43 +01:00
Hanusiak Piotr
87dde50251
some logs
2022-02-02 16:32:51 +01:00
Hanusiak Piotr
2c880c65b6
talk indicators wip
2022-02-02 15:47:38 +01:00
Hanusiak Piotr
288f8ebb61
merged develop
2022-02-02 14:32:57 +01:00
Hanusiak Piotr
45a7e9331b
ran prettier
2022-02-02 13:30:49 +01:00
_Bastler
ffe0f53907
Merge branch 'develop' of github.com:thecodingmachine/workadventure
2022-02-02 10:21:13 +01:00
Hanusiak Piotr
0eaeaf7cfb
Merge branch 'develop' into feature-options-menu
2022-02-02 09:31:10 +01:00
Alexis Faizeau
8bd0d648d4
Merge pull request #1811 from thecodingmachine/visual-cowebsite-icon
...
Enhance UX co-website opening
2022-02-01 18:52:46 +01:00
Alexis Faizeau
33e1a369de
Add trigger message on cowebsite alt
2022-02-01 18:42:07 +01:00
David Négrier
45fe234d00
Merge pull request #1804 from thecodingmachine/fix-customize-woka-missing-buttons
...
removed unnecessary wake event unregistering
2022-02-01 18:15:19 +01:00
Alexis Faizeau
da381e6e16
Fix cowebsite lazy load by API
2022-02-01 17:25:53 +01:00
grégoire parant
bc03182129
Merge pull request #1807 from thecodingmachine/fix-safari-bug-joystick
...
fixed bugged safari's joystick
2022-02-01 16:42:45 +01:00
_Bastler
468adf4f64
Merge branch 'develop' of github.com:thecodingmachine/workadventure
2022-02-01 16:07:09 +01:00
Hanusiak Piotr
43b821a4f2
fixed canvasBounds being wrongly calculated due to the resize / setZoom execution order
2022-02-01 15:49:23 +01:00
Alexis Faizeau
1124ed5a5e
Implement cancelable woka resource
2022-02-01 15:17:04 +01:00
Hanusiak Piotr
27b7bb0dca
removed unnecessary wake event unregistering
2022-02-01 12:55:29 +01:00
Hanusiak Piotr
520184fdeb
add talk-icon
2022-02-01 12:25:14 +01:00
Lukas Hass
f87704b2ef
remove redundant font loading
...
see fd70d89061/README.md (custom)
2022-02-01 01:29:38 +01:00
Hanusiak Piotr
c3d04efe9b
removed mock action from RemotePlayer
2022-01-31 13:01:47 +01:00
Hanusiak Piotr
989897cb01
added isActivatable() method to implement through interface
2022-01-31 13:00:14 +01:00
Hanusiak Piotr
2322f5f76d
some improvements with registering menu actions
2022-01-31 12:26:37 +01:00
Hanusiak Piotr
5aba99403e
merged develop
2022-01-31 10:00:39 +01:00
_Bastler
ab470ab18d
Merge branch 'develop' of github.com:thecodingmachine/workadventure
2022-01-29 14:36:47 +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
_Bastler
6783598244
Merge branch 'develop' of github.com:thecodingmachine/workadventure
2022-01-27 19:08:57 +01:00
Hanusiak Piotr
099d573296
cleanup
2022-01-27 16:50:25 +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
_Bastler
8c1b55f5db
i18n trigger message
2022-01-27 15:53:53 +01:00
Hanusiak Piotr
8b8c24f6ef
ActivatablesManager and little cleanup
2022-01-27 15:15:18 +01:00
_Bastler
55bb6fa930
walk on dbl click
2022-01-27 14:58:16 +01:00
_Bastler
08816ae80f
walk on dbl click
2022-01-27 14:57:46 +01:00
Hanusiak Piotr
68c4a5f5ce
different approach
2022-01-27 14:05:30 +01:00
_Bastler
7e987ad470
latest dev + i18n
2022-01-27 13:03:59 +01:00
Hanusiak Piotr
2781b72799
wip with handling outlines for activitable objects
2022-01-26 17:14:22 +01:00
Hanusiak Piotr
b88ebbdf08
update distance values on remotePlayer movement
2022-01-26 15:38:08 +01:00
Hanusiak Piotr
dbd06bda4e
changing the way Outline is handled
2022-01-26 14:59:23 +01:00
Hanusiak Piotr
f42c7564b9
call activate() method on space key up
2022-01-26 13:16:52 +01:00
Hanusiak Piotr
3af6461c01
Activatable objects handling WIP
2022-01-26 12:57:10 +01:00
_Bastler
e3b58a0d56
prettier
2022-01-26 12:44:08 +01:00
Hanusiak Piotr
5ae039b987
little cleanup
2022-01-26 10:54:51 +01:00
Hanusiak Piotr
06d403ebe3
simplify actionsMenu
2022-01-26 10:40:13 +01:00
_Bastler
f2da041b7c
Merge branch 'develop' of github.com:thecodingmachine/workadventure
2022-01-25 21:09:48 +01:00
Hanusiak Piotr
58227a39f8
destroy actionsMenu on RemotePlayer destroy()
2022-01-25 17:13:52 +01:00
Hanusiak Piotr
88f3032298
do not move player if clicked on Player or RemotePlayer. Close actionsMenu on second click
2022-01-25 15:47:21 +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
Hanusiak Piotr
67627637aa
added store with actions for actionsMenu
2022-01-25 13:42:41 +01:00
Hanusiak Piotr
69a2379e53
Merge branch 'develop' into feature-options-menu
2022-01-25 10:33:30 +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
Hanusiak Piotr
fd012d6c69
ActionsMenu WIP
2022-01-24 16:27:57 +01:00
_Bastler
e62fc4beed
Merge branch 'develop' of github.com:thecodingmachine/workadventure
2022-01-24 10:15:44 +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
_Bastler
3b3807d474
Merge branch 'develop' of github.com:thecodingmachine/workadventure
2022-01-20 08:16:40 +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
_Bastler
24aaa4582f
Merge branch 'develop' of github.com:thecodingmachine/workadventure
2022-01-17 08:21:06 +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
_Bastler
2f16ec51e4
Merge branch 'develop' of github.com:thecodingmachine/workadventure
2022-01-13 16:56:39 +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
_Bastler
22bfe8bc71
Merge branch 'develop' of github.com:thecodingmachine/workadventure
2022-01-13 13:30:09 +01:00
Hanusiak Piotr
a1c96b0524
merged develop
2022-01-13 10:44:06 +01:00
David Négrier
9425fd70c0
Adding a new property to prevent script from being loaded in "modules" mode
...
Scripts in module mode need to be abide by the Same Origin Policy (CORS headers are used to load them)
This can cause issues on some setups.
This commit adds a new "scriptDisableModuleSupport" that can be used to disable the "modules" mode.
Closes #1721
2022-01-12 17:36:31 +01:00
Hanusiak Piotr
905bd079ec
camera is now properly focusing on target when zooming, if any
2022-01-12 12:58:27 +01:00
Hanusiak Piotr
58af1f05f7
unlocking zooming with a delay when entering / leaving focusable zone
2022-01-12 12:08:11 +01:00
_Bastler
04a334c8e7
Merge branch 'develop' of github.com:thecodingmachine/workadventure
2022-01-12 10:56:50 +01:00
_Bastler
f9f2370afb
fix firefox private
2022-01-12 10:56:47 +01:00
_Bastler
5cc573ac49
Merge branch 'develop' of github.com:thecodingmachine/workadventure
2022-01-07 09:59:00 +01:00
David Négrier
787cc508b8
Merge pull request #1708 from thecodingmachine/fix_firefox_private_browsing
...
Fixing WA crashing in Firefox private mode
2022-01-06 11:57:12 +01:00
David Négrier
d713c82568
Fixing WA crashing in Firefox private mode
...
Due to the way we now handle the browser cache, previously ignored errors in the Cache API were now explicitly thrown, preventing the loading of Firefox in private mode.
This commit fixes the issue and improves the stacktrace display of errors at the same time.
2022-01-06 11:55:43 +01:00
David Négrier
ab0f5e9837
Stopping sending literal errors
...
Errors now must be of "Error" type.
Rule added in eslint.
2022-01-06 10:52:06 +01:00
David Négrier
24baf5664c
All promises are now handled
2022-01-04 17:06:29 +01:00
_Bastler
b2ec610027
Merge branch 'develop' of github.com:thecodingmachine/workadventure
2022-01-04 13:31:14 +01:00
David Négrier
bade2b41b6
Merge pull request #1693 from jonnytest1/patch-2
...
added columns type definition
2022-01-04 08:57:46 +01:00
_Bastler
9b62e5f4ba
Merge branch 'develop' of github.com:thecodingmachine/workadventure
2022-01-03 19:10:22 +01:00
David Négrier
4eb2ebd034
Merge pull request #1680 from workadventure-xce/fix/follow-via-keyboard
...
Fix follow requests via keyboard
2022-01-03 18:24:03 +01:00
David Négrier
fb69476b97
Merge pull request #1698 from thecodingmachine/ts-proto
...
Migrating front protobuf encode/decode to ts-proto lib
2022-01-03 18:07:19 +01:00
David Négrier
b0ee4fc633
Merge pull request #1696 from ngc4622/iframe-division-by-zero
...
ScaleManager: do not apply new size if width is zero
2022-01-03 16:01:01 +01:00
David Négrier
bf070c33b5
Migrating front protobuf encode/decode to ts-proto lib
...
The ts-proto lib has the huge advantage of producing code the "Typescript" way and not the "Java" way.
In particular, for "oneof" types in protobuf, it is generating "ADT" that can be used to check if we forgot or not to deal with a type.
2022-01-03 15:52:46 +01:00
_Bastler
4d520a5994
bring back emojis!
2022-01-03 13:42:13 +01:00
Benedicte Quimbert
ac27ab7e3e
Revert "WIP enable/disable tutorial according to the map 'tutorial' property"
...
This reverts commit 47a6710b60e3856bf57c0700fe33bec95c6fc6dd.
2022-01-03 11:45:47 +01:00
Benedicte Quimbert
d9482d484b
WIP enable/disable tutorial according to the map 'tutorial' property
2022-01-03 11:45:47 +01:00
Benedicte Quimbert
3abc571e79
Corrects scale managing and camera event listening
2022-01-03 11:45:47 +01:00
Benedicte Quimbert
2a7c8f3786
Reverts adding scale to the camera updated event and uses it directly from the website manager
2022-01-03 11:45:47 +01:00
Benedicte Quimbert
1e073d8a0e
Refactoring and documentation update
2022-01-03 11:45:47 +01:00
Benedicte Quimbert
4356767739
Adds the camera to available APIs with retrieving of the worldView
2022-01-03 11:45:47 +01:00
Benedicte Quimbert
d672a2dead
WIP API updates for tutorial and more
2022-01-03 11:45:47 +01:00
Benedicte Quimbert
c53f0c6c8c
Fixes deleting SharedVariablesManager's close() function
2022-01-03 11:45:47 +01:00
Benedicte Quimbert
516d756db1
Uses the current player position rather than the starting one to position iframe
2022-01-03 11:45:47 +01:00
Benedicte Quimbert
3490daed6b
Creates player state and uses it to get and set values from local storage
2022-01-03 11:45:47 +01:00
Benedicte Quimbert
e025c1dc8e
Allows to read and write "Player properties" from LocalStorage
2022-01-03 11:45:47 +01:00
Tobias Tefke
0603d08572
ScaleManager: do not apply new size if width is zero
...
If the game width reaches zero (e.g by resizing a cowebsite manually),
a division by zero happens when calculating the new zoom.
This results in NaN, which causes phaser to reach an invalid state when rezooming.
2022-01-03 09:09:21 +01:00
jonnytest1
8cdbf382ad
added columns type definition
2021-12-31 15:55:17 +01:00
PizZaKatZe
5460bd49be
Fix follow requests via keyboard
2021-12-31 15:35:21 +01:00
_Bastler
fafa069dac
new companions
2021-12-30 16:01:24 +01:00
_Bastler
146129b829
Merge branch 'develop' of github.com:thecodingmachine/workadventure
2021-12-24 22:05:46 +01:00
David Négrier
36ce4f8f29
Merge pull request #1664 from Chasethechicken/layers
...
Add missing layer properties
2021-12-24 16:10:15 +01:00
David Négrier
d37165219c
Migrating followStates and followRoles from a const object to a type restricted to only the string values allowed.
...
This allows for more secure code (compilation checks) and simpler code too (we can pass strings instead of const values)
2021-12-24 15:49:25 +01:00
_Bastler
579d6991bd
Merge branch 'develop' of github.com:thecodingmachine/workadventure
2021-12-23 21:45:55 +01:00
David Négrier
524339a3a0
Adding hightlight to player names when they follow each others
2021-12-23 18:07:51 +01:00
David Négrier
368a115b4c
Merge branch 'develop' of github.com:thecodingmachine/workadventure into feat/follow-woka
2021-12-23 16:04:59 +01:00
David Négrier
9efa115982
Merge branch 'master' of github.com:thecodingmachine/workadventure into develop
2021-12-23 11:04:20 +01:00
David Négrier
35463930a0
Sending color outline on connect
2021-12-23 10:22:19 +01:00
David Négrier
482ba9690a
Sharing outline color changes in real time
2021-12-22 18:34:36 +01:00
Chasethechicken
6cae134c8f
Fix indentation
...
To make prettier happy
2021-12-22 10:13:26 +01:00
Chasethechicken
1ea7b45c7e
Fix misplaced semicolon
2021-12-21 23:26:15 +01:00
David Négrier
90f7287860
Adding the ability to set the player's color outline via the scripting API
...
(currently not shared with the other players yet)
2021-12-21 17:02:53 +01:00
Chasethechicken
6f4fe47808
Add missing layer properties
...
Enables map makers to set the alpha, visibility, origin and size of layers.
Co-authored-by: jonny <ga86lad@mytum.de>
2021-12-21 11:31:14 +01:00
PizZaKatZe
50147db895
Block running in follow mode
2021-12-20 13:36:29 +01:00
PizZaKatZe
21b1313a18
Get rid of buggy open state
2021-12-20 12:50:43 +01:00
Lurkars
3916d9c58e
Add follow button to ui, improved flow
2021-12-20 11:35:06 +01:00
Lurkars
2cd088c049
Change follow request to "F" button, use nes-css buttons
2021-12-18 11:58:30 +01:00