All Projects → valiafetisov → unity-webgl-multiplayer

valiafetisov / unity-webgl-multiplayer

Licence: MIT license
Unity WebGL basic multiplayer demo using WebSockets

Programming Languages

C#
18002 projects

Projects that are alternatives of or similar to unity-webgl-multiplayer

Colyseus Examples
Colyseus Game Server examples for learning purposes
Stars: ✭ 109 (+153.49%)
Mutual labels:  multiplayer, websockets
text
An experiment with WebSockets and the human condition.
Stars: ✭ 51 (+18.6%)
Mutual labels:  multiplayer, websockets
gochess
Online real time chess web server using websockets
Stars: ✭ 32 (-25.58%)
Mutual labels:  multiplayer, websockets
StarshipAcademy
a Multiplayer WebVR Space Shooter made with A-Frame and Socket.io
Stars: ✭ 24 (-44.19%)
Mutual labels:  multiplayer, websockets
Lance
Multiplayer game server based on Node.JS
Stars: ✭ 1,161 (+2600%)
Mutual labels:  multiplayer, websockets
Colyseus
⚔ Multiplayer Framework for Node.js
Stars: ✭ 3,817 (+8776.74%)
Mutual labels:  multiplayer, websockets
haskell-tic-tac-toe
A multiplayer web real-time implementation of the famous Tic Tac Toe game in Haskell.
Stars: ✭ 51 (+18.6%)
Mutual labels:  multiplayer, websockets
Micro Racing
🚗 🏎️ 🎮 online 3D multiplayer neural networks based racing game
Stars: ✭ 100 (+132.56%)
Mutual labels:  multiplayer, websockets
colyseus-kotlin
⚔ Implementation of Colyseus client using Kotlin
Stars: ✭ 26 (-39.53%)
Mutual labels:  multiplayer, multiplayer-server
combatris
A "perfect" implementation of an old classic
Stars: ✭ 20 (-53.49%)
Mutual labels:  multiplayer
league-connect
🔌 Promise-based NodeJS interface to the League of Legends Client APIs
Stars: ✭ 92 (+113.95%)
Mutual labels:  websockets
HeroesArena
A turn-based arena multiplayer role-playing game
Stars: ✭ 16 (-62.79%)
Mutual labels:  multiplayer
eywa
Make IoT a lot more fun with data.
Stars: ✭ 55 (+27.91%)
Mutual labels:  websockets
backgammony
A backgammon client with multiplayer support
Stars: ✭ 37 (-13.95%)
Mutual labels:  multiplayer
swagger routerl
Routing library that generate the routing table from swagger.yaml.
Stars: ✭ 14 (-67.44%)
Mutual labels:  websockets
LunarGdx
A networking library for LibGDX utilizing Netty allowing easy creation of multiplayer games.
Stars: ✭ 23 (-46.51%)
Mutual labels:  multiplayer
intrinio-realtime-python-sdk
Intrinio Python SDK for Real-Time Stock Prices
Stars: ✭ 79 (+83.72%)
Mutual labels:  websockets
websocket-server
WebSocket component for PHP based on the Amp HTTP server.
Stars: ✭ 81 (+88.37%)
Mutual labels:  websockets
arel
Lightweight browser hot reload for Python ASGI web apps
Stars: ✭ 69 (+60.47%)
Mutual labels:  websockets
live-cryptocurrency-streaming-flutter
A Flutter app with live cryptocurrency updates, powered by Ably
Stars: ✭ 26 (-39.53%)
Mutual labels:  websockets

Unity WebGL basic multiplayer demo using WebSockets

The 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.

Main code can be found at node/app.js (node.js server), unity/Assets/Multiplayer.cs (Unity C# script) and unity/Assets/Plugins (modified plugin).

Running

  1. Start node.js server from the node directory: npm i && npm start
  2. Open unity folder as Unity project and run the game CMD+P

Developing

If 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.

Credits

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].