Commit Graph

3969 Commits

Author SHA1 Message Date
David Négrier
c422f3ccef
Merge pull request #210 from thecodingmachine/develop
Merging mitigationofwolrsync error in master
2020-06-29 19:27:01 +02:00
David Négrier
9cfa7eb236
Merge pull request #209 from thecodingmachine/mitigateworlderror
Mitigating problem when there is a synchronization issue between World and sockets list
2020-06-29 19:25:16 +02:00
David Négrier
981fa84aa7 Mitigating problem when there is a synchronization issue between World and sockets list. 2020-06-29 19:16:15 +02:00
David Négrier
9bdcc9da98 Deleting world when empty. 2020-06-29 19:14:54 +02:00
David Négrier
d9e6b501b1
Merge pull request #206 from thecodingmachine/develop
Prod => EnableCameraScene
2020-06-25 13:32:14 +02:00
David Négrier
d0c00aa061
Merge pull request #204 from thecodingmachine/cameraselect
Adding a scene to configure the webcam
2020-06-25 12:14:58 +02:00
David Négrier
56302dafd6 Adding version number to Deeployer 2020-06-25 12:07:43 +02:00
David Négrier
63e2e176d3 Fixing tests 2020-06-25 11:56:11 +02:00
David Négrier
bfec2317c9 Fixing default value 2020-06-25 11:39:38 +02:00
David Négrier
bb6b07536e Fixing Jasmine tests 2020-06-25 11:39:18 +02:00
David Négrier
1978c1a324 Lint 2020-06-25 11:35:20 +02:00
David Négrier
5f5cec93ea Audio device => exact mode 2020-06-25 11:26:55 +02:00
David Négrier
e3e7b92c6a Fixing errors when arrows touched and no cam 2020-06-25 10:43:42 +02:00
David Négrier
c322de4412 Moving to async/await 2020-06-25 10:43:27 +02:00
David Négrier
7e2bf38562 Fixing hot reloading 2020-06-25 10:43:10 +02:00
David Négrier
8db615551a Fixing device switching in Firefox 2020-06-25 10:33:26 +02:00
David Négrier
d18abaf067 Enabling optional https in development 2020-06-25 10:32:47 +02:00
David Négrier
371b4f0063 Fixing Firefox compatibility by remove references to InputDeviceInfo 2020-06-25 09:28:00 +02:00
David Négrier
9962ca2d48
Merge pull request #183 from thecodingmachine/landing-nip
Adding storytelling block to landing page
2020-06-24 18:31:52 +02:00
David Négrier
a52b1f612b Reorganizing on x axis too. 2020-06-24 18:09:59 +02:00
Hugo Averty
7067312659 Merging develop and landing-nip 2020-06-24 18:07:58 +02:00
David Négrier
b3c18702bb Adding borders, centering camera, fixing small bug on resize when no camera is enabled 2020-06-24 17:49:38 +02:00
David Négrier
253108eba0 - Making the EnableCameraScene responsive
- Enabling click on arrows
2020-06-24 17:29:23 +02:00
Hugo Averty
afb0aee89e Title color 2020-06-24 15:55:47 +02:00
Hugo Averty
938dfb12cd Adding gif and modifying text 2020-06-24 15:42:55 +02:00
Hugo Averty
99a8b42924 Adding gif and modifying text 2020-06-24 15:42:44 +02:00
David Négrier
3de37bafed Adding a scene to configure the webcam 2020-06-24 15:35:07 +02:00
David Négrier
617ff45bfa
Merge pull request #203 from thecodingmachine/fixmulitplelisteners
Fixing memory leak with listeners
2020-06-23 15:08:18 +02:00
David Négrier
d78006e106 Fixing memory leak with listeners
The listeners from MediaManager and SimplePeer were never removed, leading to a huge amount of listeners all over the applications when switching regularly of scene.
2020-06-23 15:02:35 +02:00
David Négrier
6e46f37146
Merge pull request #201 from thecodingmachine/develop
Putting refactoring of connection in production
2020-06-23 11:52:37 +02:00
David Négrier
12ce0e16ed
Merge pull request #200 from thecodingmachine/mediamanagererror
Improving error handling in MediaManager
2020-06-23 11:46:11 +02:00
David Négrier
74af7d52c3 Improving error handling in MediaManager 2020-06-22 22:55:28 +02:00
David Négrier
52df539314
Merge pull request #199 from thecodingmachine/connectioninscene
Code cleanup and removing exception in favor of console error
2020-06-22 18:46:44 +02:00
David Négrier
a5514ce78a Code cleanup and removing exception in favor of console error 2020-06-22 18:42:54 +02:00
David Négrier
aa2daac63e
Merge pull request #198 from thecodingmachine/connectioninscene
Refactoring connection to be part of a GameScene
2020-06-22 17:31:12 +02:00
David Négrier
407c6db070 Fixing difference between MapKey and scene key (prevented proper caching of resources) 2020-06-22 17:18:24 +02:00
David Négrier
3f927280a6 Lint 2020-06-22 16:11:48 +02:00
David Négrier
9b174836cd Making sure connection is established again EVEN if the tab is not displayed 2020-06-22 16:11:02 +02:00
David Négrier
1e4ffa20ab Cleaning GameManager 2020-06-22 16:10:34 +02:00
David Négrier
403ea223a8 Reconnecting also on socket error 2020-06-22 16:10:18 +02:00
David Négrier
f88f28db3f Refactoring reconnection: putting it into the GameScene directly. 2020-06-22 15:00:23 +02:00
David Négrier
d785a8a1bf Refactoring connection to be part of a GameScene
Most of the refactoring issues we are seeing are probably due to the fact that we are trying to manipulate a ScenePlugin out of a Scene (the GameManager is not a Scene and holds a reference to a ScenePlugin coming from a Scene that might get invalidated by Phaser 3).
Furthermore, if we want in the future to be able to scale, scenes could be hosted on different servers. Therefore, it makes no sense to have one connexion for the whole application.
Instead, we should have one connexion for each scene.
2020-06-22 11:58:07 +02:00
David Négrier
593e0dc642
Merge pull request #195 from thecodingmachine/eventsqueue
Adding an event queue in the GameScene.
2020-06-19 22:35:26 +02:00
David Négrier
4496c49621 Fix linting 2020-06-19 18:51:58 +02:00
David Négrier
2b820c7d56 Adding an event queue in the GameScene.
Events are processed only in the 'update' method.
We hope this will solve a number of null pointer errors. See #194
2020-06-19 18:18:43 +02:00
David Négrier
8467712737
Merge pull request #173 from thecodingmachine/stricter_lint_front
Enabling stricter lint: forbidding usage of any on front
2020-06-19 16:46:51 +02:00
David Négrier
e2be99490b Finishing removing any reference to "any" in the front. 2020-06-19 16:36:40 +02:00
David Négrier
39928b46f9 Removing any in the front 2020-06-19 14:30:34 +02:00
David Négrier
8348d13bfe Fixing use const instead of let 2020-06-19 14:30:34 +02:00
David Négrier
54f2518b5e Enabling stricter lint on front 2020-06-19 14:29:29 +02:00