Unity WebGL multiplayer game with WebSocket (Node.js server & Unity WebGL client)

Channel:
Subscribers:
450
Published on ● Video Link: https://www.youtube.com/watch?v=9gf5SgAAAGM



Duration: 1:49
562 views
9


A demonstration of my implementation that makes Unity built with WebGL work perfectly with WebSocket. Originally Websocket implementations (WebSocketSharp) don't work directly in WebGL build, so I made a communication "bridge" between Unity and javascript that works with websocket.

Interaction with browser scripting:
https://docs.unity3d.com/Manual/webgl-interactingwithbrowserscripting.html




Other Videos By Breno Campos


2025-01-02Unity (HDRP) multiplayer game with WebSockets (Node.js server & Unity client) - Coop Zombie Game
2024-09-28Three.js/WebGL custom PSX-style shaders/filters (Z-fighting/jitter/whoob, dithering, CRT filter)
2024-09-28Three.js/WebGL custom PSX-style shaders/filters (Z-fighting/jitter/whoob, dithering, CRT filter)
2024-06-14"Speed Demon" do Michael Jackson | Multitracks originais de estúdio (sessão de audição, revisão)
2024-06-07Sky Fighter Forces Raptor Challenge 2024 02 14 01 48 53
2024-05-27Brenin - Tudo para Trás
2024-04-05Excavator Simulator - Unity Engine (Oculus Quest 2)
2024-03-18Excavator simulator with Unity Engine
2024-02-16Sky Fighter Forces Raptor Challenge 2024 02 16 17 02 31
2024-02-152024 02 15 11 33 29
2024-02-07Unity WebGL multiplayer game with WebSocket (Node.js server & Unity WebGL client)
2024-02-03Local multiplayer football game with web controller (Unity Engine + Node.js + WebSocket + A-Frame)
2024-02-02Local multiplayer football game with web controller (Unity Engine + Node.js + WebSocket + A-Frame)
2023-08-01Unity Asset Store Racing Game Template | Gameplay
2023-07-31Sky Fighter Forces: Raptor Challenge (Mission #3 GAMEPLAY) | ITCH.IO flight game
2023-07-31Sky Fighter Forces: Raptor Challenge (Mission #2 GAMEPLAY) | ITCH.IO flight game
2023-07-30Sky Fighter Forces: Raptor Challenge (Mission #1 GAMEPLAY) | ITCH.IO flight game
2023-07-26Unity Asset Store Racing template | Rewind system like Forza
2023-07-26Unity Asset Store Racing template | Replay system, dynamic weather and realistic vehicle physics
2023-07-19Racing game template in Unity (HDRP). Coming soon to the Unity Asset Store (under development)
2023-06-10Racing game prototype (Unity Engine - HDRP) - Improving the sound effects of the Nissan GT-R



Tags:
UNITY
C#
JAVASCRIPT
DEV
SERVER
NODE
NODEJS
WEBSOCKET
WEBGL