mirror of
https://github.com/godotengine/godot-demo-projects.git
synced 2026-01-05 23:40:07 +01:00
The signaling server protocol has been rewritten to use JSON format to be more readable. Lobbies now support both mesh and client/server modes (selected during creation). The client/server mode uses the SceneMultiplayer relay mode as implemented in beta4. The demo now uses an RPC for pinging, and connects to the MultiplayerAPI instead of using the raw MultiplayerPeer.
21 lines
484 B
JSON
21 lines
484 B
JSON
{
|
|
"name": "signaling_server",
|
|
"version": "1.0.0",
|
|
"description": "",
|
|
"main": "server.js",
|
|
"dependencies": {
|
|
"ws": "^7.5.9"
|
|
},
|
|
"devDependencies": {
|
|
"eslint": "^8.28.0",
|
|
"eslint-config-airbnb-base": "^14.2.1",
|
|
"eslint-plugin-import": "^2.23.4"
|
|
},
|
|
"scripts": {
|
|
"lint": "eslint server.js && echo \"Lint OK\" && exit 0",
|
|
"format": "eslint server.js --fix && echo \"Lint OK\" && exit 0"
|
|
},
|
|
"author": "Fabio Alessandrelli",
|
|
"license": "MIT"
|
|
}
|