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
a28d86c16d
Merge pull request #1525 from thecodingmachine/player-local-storage
...
Allows to read and write "Player properties" from LocalStorage & Adds a camera API
2022-01-03 15:24:14 +01:00
Bénédicte Q
5d0aa835a2
Apply suggestions from code review
...
Co-authored-by: David Négrier <d.negrier@thecodingmachine.com>
2022-01-03 14:21:59 +01:00
Bénédicte Q
7c34e0a435
Update docs/maps/api-camera.md
...
Co-authored-by: David Négrier <d.negrier@thecodingmachine.com>
2022-01-03 14:19:55 +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
8157ee4603
Completes documentation
2022-01-03 11:45:47 +01:00
Benedicte Quimbert
85d45071fa
Makes onCameraUpdate subscribe-able
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
99f9d56c5c
Updates room documentation for embeddedWebsite properties
2022-01-03 11:45:47 +01:00
Bénédicte Q
a69f232a06
Update front/src/Api/Events/IframeEvent.ts
...
Co-authored-by: David Négrier <d.negrier@thecodingmachine.com>
2022-01-03 11:45:47 +01:00
Bénédicte Q
adc71b5695
Update front/src/Api/Events/IframeEvent.ts
...
Co-authored-by: David Négrier <d.negrier@thecodingmachine.com>
2022-01-03 11:45:47 +01:00
Bénédicte Q
73efdab52f
Update docs/maps/api-camera.md
...
Co-authored-by: David Négrier <d.negrier@thecodingmachine.com>
2022-01-03 11:45:47 +01:00
Bénédicte Q
864ff49af5
Update docs/maps/api-camera.md
...
Co-authored-by: David Négrier <d.negrier@thecodingmachine.com>
2022-01-03 11:45:47 +01:00
Benedicte Quimbert
9cf64c3c76
Documentation on type Position
2022-01-03 11:45:47 +01:00
Benedicte Quimbert
ddb4ae8823
Documentation
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
c93b9bc7ae
Updates documentation
2022-01-03 11:45:47 +01:00
Benedicte Quimbert
cbf7cdfe29
Cleans forgotten useless commentaries
2022-01-03 11:45:47 +01:00
Bénédicte Q
8bc75e1ccb
Update docs/maps/api-player.md
...
Co-authored-by: David Négrier <d.negrier@thecodingmachine.com>
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
e39e341ab7
Adds documentation on player properties
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
Alexis Faizeau
8059af43e9
Merge pull request #1688 from thecodingmachine/master
...
Fix api data typeguard
2021-12-30 13:19:06 +01:00
Alexis Faizeau
68431c5242
Merge branch 'develop' into master
2021-12-30 13:18:13 +01:00
Alexis Faizeau
b929a62548
Merge pull request #1687 from thecodingmachine/fix-register
...
Remove policy from API data
2021-12-30 13:08:24 +01:00
Alexis Faizeau
b148a46e3c
Remove unused policy type from ApiData typeguard
2021-12-30 12:51:52 +01:00
David Négrier
90320ba6e1
Merge pull request #1677 from thecodingmachine/e2e_on_ec2
...
Attempting to set up custom EC2 instances for E2E tests
2021-12-24 17:12:12 +01:00
David Négrier
d4f8cf4210
Updating AMI
2021-12-24 17:00:45 +01:00
David Négrier
b58f9ed6f7
Putting back token
2021-12-24 16:50:12 +01:00
David Négrier
f3ebeef4a7
Fixing doc
2021-12-24 16:45:51 +01:00
David Négrier
03d8562a65
Trying to comment personal access token
2021-12-24 16:45:32 +01:00
David Négrier
cf67b95e5b
Attempting to set up custom EC2 instances for E2E tests
2021-12-24 16:43:38 +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
63f97b956e
Merge pull request #1653 from thecodingmachine/feat/follow-woka
...
Feature: Following WOKAs (deploy)
2021-12-24 16:03:52 +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
David Négrier
840f8626ad
Refactoring code to use Svelte native "$" store unpacking.
2021-12-24 15:39:28 +01:00
David Négrier
a1cfaa0225
Merge branch 'develop' of github.com:thecodingmachine/workadventure into feat/follow-woka
2021-12-24 15:06:15 +01:00
David Négrier
a4a89735f6
Fixing missing builders
2021-12-24 15:04:01 +01:00
David Négrier
9a3bca0659
Updating Node version to latest minor in Pusher and Back for prod images
2021-12-24 14:59:40 +01:00
David Négrier
87bc7f8099
Slightly improving follow request popup design
2021-12-24 14:36:38 +01:00
David Négrier
d6e8bd522f
Fixing issue if group was deleted when out of bounds.
2021-12-24 14:07:29 +01:00
David Négrier
fefe7c8aa5
Removing the "Ask others to follow you?" popup
...
No need to ask twice, the user just pressed the "follow" button.
2021-12-24 13:48:35 +01:00
David Négrier
7d796611ae
Merge pull request #1676 from albanbruder/feature-admin-message-queue
...
Display multiple admin messages
2021-12-24 13:25:13 +01:00