workadventure/front
David Négrier 125a4d11af Refactored and optimized messages
Now, when a user moves, only his/her position is sent back to the other users. The position of all users is not sent each time.

The messages sent to the browser are now:

- the list of all users as a return to the join_room event (you can send responses to events in socket.io)
- a "join_room" event sent when a new user joins the room
- a "user_moved" event when a user moved
- a "user_left" event when a user left the room

The GameScene tracks all these events and reacts accordingly.

Also, I made a number of refactoring in the classes and removed the GameSceneInterface that was useless (it was implemented by the LogincScene for no reason at all)
2020-05-19 19:11:12 +02:00
..
dist Media webrtcA 2020-05-14 20:39:30 +02:00
src Refactored and optimized messages 2020-05-19 19:11:12 +02:00
.dockerignore Fixing Dockerfiles 2020-04-11 15:11:22 +02:00
.eslintrc.json Adding ESLint for front part 2020-04-04 16:16:20 +02:00
.gitignore Initial commit 2020-04-03 14:56:21 +02:00
Dockerfile Fixing Dockerfiles 2020-04-11 15:11:22 +02:00
package.json Fixing linting 2020-05-01 23:48:30 +02:00
tsconfig.json Initial commit 2020-04-03 14:56:21 +02:00
webpack.config.js Adding history support 2020-05-12 22:38:44 +02:00
yarn.lock Use WebRtc with SimplePeer 2020-04-25 16:05:33 +02:00