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
dependabot[bot]
8c11db1f62
Bump follow-redirects from 1.14.4 to 1.14.7 in /front
...
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects ) from 1.14.4 to 1.14.7.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases )
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.4...v1.14.7 )
---
updated-dependencies:
- dependency-name: follow-redirects
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-01-14 07:50:10 +00: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
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
Alexis Faizeau
3f3f488924
Merge pull request #1718 from thecodingmachine/master
...
Hot fixes
2022-01-12 10:47:27 +01:00
Gregoire Parant
2f4e518f17
HotFix Htaccess to accespt "*"
...
Signed-off-by: Gregoire Parant <g.parant@thecodingmachine.com>
2022-01-12 08:20:54 +01:00
jonny
786448a2b2
prettier fix
2022-01-09 23:21:07 +01:00
jonny
73ab4f3a26
prettier fix
2022-01-09 23:18:38 +01:00
jonny
e5afac1df5
prettier fix
2022-01-09 23:17:17 +01:00
jonny
954d39bb0c
always set hash
2022-01-09 13:51:44 +01:00
David Négrier
0fb09cc431
Fixing closing of all websites.
2022-01-06 12:27: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
f82012d315
Flagging Room.isPublic property as deprecated
2022-01-05 16:30:41 +01:00
David Négrier
6766ee86da
Merge branch '2daysLimit' of github.com:thecodingmachine/workadventure into 2daysLimit
2022-01-05 14:32:17 +01:00
David Négrier
968e71cbca
Removing completely any analysis of the URL from the front.
...
Instead, data related to room is sent from the admin, via the pusher.
2022-01-05 14:32:02 +01:00
Gregoire Parant
08847e1a64
Merge branch 'develop' into 2daysLimit
...
Signed-off-by: Gregoire Parant <g.parant@thecodingmachine.com>
# Conflicts:
# front/src/Connexion/RoomConnection.ts
2022-01-05 12:08:27 +01:00
Gregoire Parant
ae122261d4
Fix prettier update
...
Signed-off-by: Gregoire Parant <g.parant@thecodingmachine.com>
2022-01-05 11:49:01 +01:00
Gregoire Parant
8b758a0053
Merge branch 'develop' into 2daysLimit
...
Signed-off-by: Gregoire Parant <g.parant@thecodingmachine.com>
2022-01-05 11:47:31 +01:00
David Négrier
c85679b42c
Merge branch 'develop' of github.com:thecodingmachine/workadventure into 2daysLimit
2022-01-05 10:19:23 +01:00
David Négrier
24baf5664c
All promises are now handled
2022-01-04 17:06:29 +01:00
David Négrier
6e27ffb2d5
Starting fixing unhandled promises
2022-01-04 16:50:43 +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