{"id":20623253,"url":"https://github.com/valiafetisov/unity-webgl-multiplayer","last_synced_at":"2025-04-15T12:37:51.918Z","repository":{"id":30588070,"uuid":"95265175","full_name":"valiafetisov/unity-webgl-multiplayer","owner":"valiafetisov","description":"Unity WebGL basic multiplayer demo using WebSockets","archived":false,"fork":false,"pushed_at":"2023-03-04T02:40:48.000Z","size":1765,"stargazers_count":66,"open_issues_count":1,"forks_count":14,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-28T20:21:18.893Z","etag":null,"topics":["biolerplate","multiplayer","multiplayer-server","unity","webgl","websockets"],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/valiafetisov.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-06-24T00:13:52.000Z","updated_at":"2024-08-22T03:38:12.000Z","dependencies_parsed_at":"2024-11-16T12:27:10.118Z","dependency_job_id":"9a8bca30-2fa2-4adf-8580-7382db834e40","html_url":"https://github.com/valiafetisov/unity-webgl-multiplayer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valiafetisov%2Funity-webgl-multiplayer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valiafetisov%2Funity-webgl-multiplayer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valiafetisov%2Funity-webgl-multiplayer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valiafetisov%2Funity-webgl-multiplayer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/valiafetisov","download_url":"https://codeload.github.com/valiafetisov/unity-webgl-multiplayer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249072827,"owners_count":21208253,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["biolerplate","multiplayer","multiplayer-server","unity","webgl","websockets"],"created_at":"2024-11-16T12:26:27.442Z","updated_at":"2025-04-15T12:37:51.893Z","avatar_url":"https://github.com/valiafetisov.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"![](screenshot.png)\n\n# Unity WebGL basic multiplayer demo using WebSockets\n\nThe project is a basic working example demonstrating the possibility to exchange multiply players positions using websockets. Under the hood it uses slightly modified websockets plugin and small node.js server.\n\nMain code can be found at [`node/app.js`](node/app.js) (node.js server), [`unity/Assets/Multiplayer.cs`](unity/Assets/Multiplayer.cs) (Unity C# script) and [`unity/Assets/Plugins`](unity/Assets/Plugins) (modified plugin).\n\n\n### Running\n\n1. Start node.js server from the `node` directory: `npm i \u0026\u0026 npm start`\n2. Open `unity` folder as Unity project and run the game `CMD+P`\n\n\n### Developing\n\nIf you're willing to develop server code further, you may find useful to use `npm run dev` instead of `npm start` as it will start script with `nodemon` – a monitoring tool that will restart server after every edit.\n\n\n### Credits\n\n- Simple Web Sockets Plugin by Unity Technologies ([no longer available in the store](https://assetstore.unity.com/packages/essentials/tutorial-projects/simple-web-sockets-for-unity-webgl-38367))\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvaliafetisov%2Funity-webgl-multiplayer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvaliafetisov%2Funity-webgl-multiplayer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvaliafetisov%2Funity-webgl-multiplayer/lists"}