Commit Graph

610 Commits

Author SHA1 Message Date
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
David Négrier
78c7e40889
Merge pull request #189 from thecodingmachine/prometheus
Adding Prometheus support in K8S
2020-06-17 23:07:17 +02:00
David Négrier
d2ad20651f Adding Prometheus support in K8S
This adds an annotation in the back container that will allow the Prometheus to autodetect containers in the cluster.
2020-06-17 22:55:03 +02:00
David Négrier
42ab41df31
Merge pull request #186 from thecodingmachine/fixmap
Fixing TCM maps start positions
2020-06-17 22:09:50 +02:00
David Négrier
d736673169 Adding an entry point in first floor 2020-06-17 16:35:47 +02:00
David Négrier
e1954c7ff9 Removing overlapping tiles between start and exit 2020-06-17 16:31:42 +02:00
David Négrier
a6bda673ba
Merge pull request #185 from thecodingmachine/fixreconnect
Fixing reconnect issue
2020-06-17 16:16:51 +02:00
David Négrier
817b25b0be Fixing reconnect issue
In the case the reconnect event was triggered on "wake-up", the disconnect event was not sent. But because of a bug in the way we handle the setTimeout, the reconnection to the GameScene never happened after we forced the disconnect scene.
This fixes the issue.
2020-06-17 16:06:02 +02:00
David Négrier
b8f9e25b26
Merge pull request #184 from thecodingmachine/debugreconnect
Adding console log when trying to reconnect
2020-06-17 15:43:20 +02:00
David Négrier
b14524625c Adding console log when trying to reconnect 2020-06-17 15:37:02 +02:00