Commit Graph

410 Commits

Author SHA1 Message Date
David Négrier
2dc682ea72 Fixing warning on character selection 2020-06-02 15:57:11 +02:00
David Négrier
f151a37da9
Merge pull request #142 from thecodingmachine/optimize_event_sent
Limiting the number of messages sent while moving
2020-06-02 14:26:56 +02:00
David Négrier
d72e60610e Adding PlayersPositionInterpolator to interpolate/extrapolate players positions 2020-06-02 13:44:42 +02:00
David Négrier
d69ce8a6a6 Adding PlayerMovement class to interpolate/extrapolate position along tests (installing Jasmine) 2020-06-02 10:48:04 +02:00
David Négrier
077b29bfbd Sending position only every 200ms while moving 2020-06-01 22:42:18 +02:00
grégoire parant
6f646745c1
Merge pull request #140 from thecodingmachine/fix-animation
Fix animation player
2020-06-01 13:49:04 +02:00
Gregoire Parant
b931a8f117 Fix animation player 2020-06-01 13:20:45 +02:00
grégoire parant
9c3151a077
Merge pull request #138 from thecodingmachine/caching-bundle-webpack
Update strategy caching bundle front js files with webpack
2020-06-01 12:10:19 +02:00
Gregoire Parant
244f87196e Update strategy caching bundle front js files with webpack
- Add HtmlWebpackPlugin to use template index html
2020-06-01 11:53:12 +02:00
David Négrier
f2d7a9a732
Merge pull request #135 from thecodingmachine/track_server_load
Tracking nb users connected and server load
2020-05-28 22:09:52 +02:00
David Négrier
66ec11176b Tracking nb users connected and server load
When a user connects or disconnects on the server, we log this (along the current server load).
This is only temporary, in order to assess the number of users a server can safely handle before crashing.
2020-05-28 22:00:56 +02:00
David Négrier
763d988848
Merge pull request #134 from thecodingmachine/map-coders
Add a coders exit to https://npeguin.github.io/coders-map/map.json
2020-05-28 12:32:44 +02:00
NIP
5066e5ad4c Fix issue on start point 2020-05-28 12:19:46 +02:00
NIP
c90994574a Add a coders exit to https://npeguin.github.io/coders-map/map.json 2020-05-28 11:56:47 +02:00
David Négrier
50e4a7013c
Merge pull request #133 from thecodingmachine/cleanup_namespace
Trying to trigger delete on correct branch
2020-05-27 23:20:30 +02:00
David Négrier
9dd5657148 Trying to trigger delete on correct branch 2020-05-27 23:20:12 +02:00
David Négrier
da1db983cd
Merge pull request #132 from thecodingmachine/cleanup_namespace
Fixing Docker again
2020-05-27 22:32:22 +02:00
David Négrier
04bd9ce9d5 Fixing Docker again 2020-05-27 22:30:53 +02:00
David Négrier
206ebc9669
Merge pull request #131 from thecodingmachine/cleanup_namespace
Fixing Docker reference to image
2020-05-27 22:28:35 +02:00
David Négrier
2b7a11dffc Fixing Docker 2020-05-27 22:27:52 +02:00
David Négrier
f8a5769a38
Merge pull request #130 from thecodingmachine/cleanup_namespace
Adding cleanup action on delete
2020-05-27 22:25:58 +02:00
David Négrier
81024bbd5d Adding cleanup action on delete 2020-05-27 22:20:08 +02:00
David Négrier
bab833760d
Merge pull request #129 from thecodingmachine/rework_login_scene
Adding a new SelectCharacterScene
2020-05-27 09:39:47 +02:00
David Négrier
f69f99f449 Adding localStorage for selected user 2020-05-26 22:26:50 +02:00
David Négrier
52e3b47cc1 Storing user name in local storage 2020-05-26 22:17:00 +02:00
David Négrier
f36bd240a7 Fix lint 2020-05-26 17:43:25 +02:00
David Négrier
0492dfdf3a Fixing import 2020-05-26 17:37:26 +02:00
David Négrier
04a1f90ed5 Adding communication between LoginScene and SelectCharacterScene 2020-05-26 17:25:29 +02:00
David Négrier
5806e379c8 Fixing selection on keyboard after selection using mouse 2020-05-26 17:02:04 +02:00
David Négrier
da0d9fed87 Adding a new SelectCharacterScene
Taking what was done in the LoginScene regarding character selection and putting it in its own scene.
Also, making character selection possible via the keyboard.
2020-05-25 23:26:27 +02:00
David Négrier
a0ce57e582
Merge pull request #127 from thecodingmachine/remove_dead_code
Removing dead code from previous messaging system
2020-05-25 22:44:33 +02:00
David Négrier
21576946f0 Commenting out the notion of status in the GameManager
It seems to be useless
2020-05-25 22:37:07 +02:00
David Négrier
62cb8cca87 Also removing dead class 2020-05-25 22:36:44 +02:00
David Négrier
17e7f1b37a Removing dead code from previous messaging system
Remvoing messages that were no more used in the new messaging system (the code used to handle the message that sent the position of all users on the front side)
2020-05-25 22:36:44 +02:00
David Négrier
0ade4daa99
Merge pull request #126 from thecodingmachine/typos
Fixing typos.
2020-05-24 23:29:05 +02:00
David Négrier
1fa39b0781 Fixing typos.
Replaced connexion with connection and LogincScene with LoginScene
2020-05-24 23:14:12 +02:00
David Négrier
b58eef6e7f
Merge pull request #124 from moufmouf/rename_maps_endpoint
Renaming /maps to /start-map
2020-05-24 22:58:06 +02:00
David Négrier
cd586a9e0c Renaming /maps to /start-map
Closes #90
2020-05-24 22:53:10 +02:00
David Négrier
cd7763770e Improving doc 2020-05-24 15:39:55 +02:00
David Négrier
7e6f34e780
Merge pull request #123 from thecodingmachine/map_instances
Adding a notion of instances per map
2020-05-23 21:48:10 +02:00
David Négrier
2448fef53a Adding a notion of instances per mapAdding a notion of instances to room
The URL signature becomes:

https://workadventu.re/_/[instance]/[path_to_map.json]

This allows us to create many instances of the same map (and therefore to create several different worlds for different people)

An exit on a map can target another "instance" by passing the "exitInstance" property.
2020-05-23 17:45:49 +02:00
David Négrier
1f2b33baec
Merge pull request #120 from thecodingmachine/refactor_messages
Refactored and optimized messages
2020-05-23 17:25:18 +02:00
David Négrier
080e08eeef
Merge pull request #122 from thecodingmachine/reconnecting_scene
Adding a special scene to wait for server reconnection
2020-05-23 17:12:36 +02:00
David Négrier
948284ae5e
Merge pull request #121 from thecodingmachine/fix_mediatream_manage
Fix mediatream manage and connection server down
2020-05-23 17:12:10 +02:00
Gregoire Parant
f4ed2e52bf Fix CI 2020-05-23 16:50:17 +02:00
Gregoire Parant
57e8c0261c Fix test socket 2020-05-23 16:32:14 +02:00
David Négrier
e41eda9979 Prettifying lost connection screen 2020-05-23 16:13:37 +02:00
David Négrier
36858f8747 Adding a special scene to wait for server reconnection 2020-05-23 15:43:26 +02:00
Gregoire Parant
0c9cbca765 Use userId generated by back end in all message 2020-05-23 15:04:25 +02:00
Gregoire Parant
ab32021fc0 Fix mediam stream manage and server back down 2020-05-23 14:00:36 +02:00