Commit Graph

4294 Commits

Author SHA1 Message Date
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
David Négrier
0d4befc850
Merge pull request #1731 from thecodingmachine/fix-group-master
Change group radius management
2022-01-17 18:16:36 +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
dependabot[bot]
5b186c1bba
Bump shelljs from 0.8.4 to 0.8.5 in /messages
Bumps [shelljs](https://github.com/shelljs/shelljs) from 0.8.4 to 0.8.5.
- [Release notes](https://github.com/shelljs/shelljs/releases)
- [Changelog](https://github.com/shelljs/shelljs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/shelljs/shelljs/compare/v0.8.4...v0.8.5)

---
updated-dependencies:
- dependency-name: shelljs
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-15 06:59:54 +00:00
Alexis Faizeau
4a5ef4ab86 Change group radius management 2022-01-14 13:54:55 +01:00
David Négrier
ccfe049e6c
Merge pull request #1723 from thecodingmachine/fix-group
Change group radius management
2022-01-14 13:53:15 +01:00
David Négrier
6269ba997b
Merge pull request #1730 from thecodingmachine/camera-api-docs-update
api-camera docs update
2022-01-14 13:17:52 +01:00
Hanusiak Piotr
b1cad1e5d3 merged develop 2022-01-14 12:52:04 +01:00
Hanusiak Piotr
000b2cfe73 created PathfindingManager. WIP 2022-01-14 12:49:18 +01:00
Hanusiak Piotr
a344d8c2bc api-camera docs update 2022-01-14 12:38:16 +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
Alexis Faizeau
cd566e43a7 Change group radius management 2022-01-14 11:53:33 +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
_Bastler
ed28cd0882 Merge branch 'develop' of github.com:thecodingmachine/workadventure 2022-01-14 10:43:49 +01:00
David Négrier
391c34d0c9
Merge pull request #1729 from thecodingmachine/dependabot/npm_and_yarn/pusher/follow-redirects-1.14.7
Bump follow-redirects from 1.14.4 to 1.14.7 in /pusher
2022-01-14 10:43:18 +01:00
David Négrier
0abdf9faf8 Merge pull request #1728 from thecodingmachine/dependabot/npm_and_yarn/back/follow-redirects-1.14.7
Bump follow-redirects from 1.14.6 to 1.14.7 in /back
2022-01-14 10:43:08 +01:00
_Bastler
15db3e3704 Merge branch 'develop' of github.com:thecodingmachine/workadventure 2022-01-14 10:36:39 +01:00
dependabot[bot]
201d804d98
Bump follow-redirects from 1.14.4 to 1.14.7 in /pusher
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 09:27:12 +00:00
dependabot[bot]
57b2b4e9fe
Bump follow-redirects from 1.14.6 to 1.14.7 in /back
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.6 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.6...v1.14.7)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-14 09:27:10 +00:00
David Négrier
f39f13b2dd
Merge pull request #1727 from thecodingmachine/dependabot/npm_and_yarn/front/follow-redirects-1.14.7
Bump follow-redirects from 1.14.4 to 1.14.7 in /front
2022-01-14 10:26:39 +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
fa2bf25d8b Merge branch 'walking-shortest-path' of github.com:thecodingmachine/workadventure into walking-shortest-path 2022-01-13 17:13:15 +01:00
Hanusiak Piotr
49247ac530 created PathfindingManager. WIP 2022-01-13 17:13:03 +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
7b08429db3
Merge pull request #1719 from thecodingmachine/focusable-zone-allow-zoom
Focusable zone allow zoom
2022-01-12 18:51:17 +01:00
David Négrier
242411889a
Merge pull request #1722 from thecodingmachine/allow_disabling_modules
Adding a new property to prevent script from being loaded in "modules" mode
2022-01-12 18:49:00 +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
d772fd27f8 created PathfindingManager. WIP 2022-01-12 17:13:37 +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
Alexis Faizeau
3f3f488924
Merge pull request #1718 from thecodingmachine/master
Hot fixes
2022-01-12 10:47:27 +01:00
grégoire parant
55da4d5f20
Merge pull request #1717 from thecodingmachine/HotFixHtaccess
HotFix htaccess to accespt "*"
2022-01-12 08:39:55 +01:00