https://github.com/if1live/websocket-game-boilerplate
https://github.com/if1live/websocket-game-boilerplate
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/if1live/websocket-game-boilerplate
- Owner: if1live
- Created: 2018-07-21T12:12:11.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-07-21T12:22:03.000Z (almost 7 years ago)
- Last Synced: 2025-02-02T18:14:30.939Z (4 months ago)
- Language: C#
- Size: 216 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# websocket game boilerplate
* server
* .Net core
* [websocket-sharp](https://github.com/sta/websocket-sharp)
* client
* Unity3D
* [Simple Web Sockets for Unity WebGL](https://assetstore.unity.com/packages/essentials/tutorial-projects/simple-web-sockets-for-unity-webgl-38367)
* [websocket-sharp](https://github.com/sta/websocket-sharp)
## note
### two websocket library in clientIn webgl platform, use `simple web socket for unity webgl` to support webgl.
In other platforms, use `websocket-sharp].## build
build shared library, copy dll to client
```bash
cd GameLib
dotnet build --output ../GameClient/Assets/GameLib
```run server
```bash
cd GameServer
dotnet run
```run unity game