# colyseus **Repository Path**: ProZGZ/colyseus ## Basic Information - **Project Name**: colyseus - **Description**: No description available - **Primary Language**: TypeScript - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-04-21 - **Last Updated**: 2021-09-10 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README
Colyseus is an Authoritative Multiplayer Game Server for Node.js, with clients available for the Web, Unity3d, Defold, Haxe, and Cocos2d-X. ([See official clients](#%EF%B8%8F-official-client-integration)) The project focuses on providing synchronizable data structures for realtime and turn-based games, matchmaking, and ease of usage both on the server-side and client-side. The mission of the framework is to be a standard netcode & matchmaking solution for any kind of project you can think of! You're encouraged to take a look on [some games being developed with it](https://discuss.colyseus.io/category/5/showcase) and make your own! ## What Colyseus provides to you: - WebSocket-based communication - Simple API in the server-side and client-side. - Automatic state synchronization between server and client. - Matchmaking clients into game sessions - Scale vertically or horizontally ## What Colyseus won't provide: - Game Engine: Colyseus is agnostic of the engine you're using. Need Physics? Add your own logic / package. - Database: It's up to you to configure and select which database you'd like to use. See [roadmap](https://github.com/colyseus/colyseus/wiki/Roadmap) for our future plans. # 🚀 Quickstart Create a bare-bones Colyseus server by using `npm init colyseus-app`. ``` npm init colyseus-app my-colyseus-server cd my-colyseus-server npm start ``` # 🕹️ Official Client Integration - [JavaScript/TypeScript](https://github.com/colyseus/colyseus.js) - [Defold Engine](https://github.com/colyseus/colyseus-defold) ([defold.com](https://www.defold.com/)) - [Unity](https://github.com/colyseus/colyseus-unity3d) ([unity3d.com](https://unity3d.com/)) - [Haxe](https://github.com/colyseus/colyseus-hx) ([haxe.org](https://haxe.org/)) - [Cocos2d-x](https://github.com/colyseus/colyseus-cocos2d-x) ([cocos2d-x.org](https://cocos2d-x.org/)) - [Construct 3](https://github.com/colyseus/colyseus-construct3) ([construct3.net](https://www.construct.net/)) # 🛠️ Tools - [@colyseus/social](https://github.com/colyseus/colyseus-social) - Authentication and Social features for Colyseus - [@colyseus/proxy](https://github.com/colyseus/proxy) - Proxy & Service Discovery for scaling Colyseus - [@colyseus/monitor](https://github.com/colyseus/colyseus-monitor) - A Web Monitoring Panel for Colyseus - [@colyseus/loadtest](https://github.com/colyseus/colyseus-loadtest) - Utility tool for load testing Colyseus ## Tools made by the community ❤️ - [colyseus-hxjs](https://github.com/serjek/colyseus-hxjs): Haxe externs for colyseus server (by [@serjek](https://github.com/serjek)) - [colyseus-java](https://github.com/doorbash/colyseus-java): Client for Java (by [@doorbash](https://github.com/doorbash)) - [Colyseus-ObjC](https://github.com/swittk/Colyseus-ObjC): Client for Objective C (by [@swittk](https://github.com/swittk)) - [Colyseus-for-C2](https://github.com/Keevle/Colyseus-for-C2): Client for Construct 2 (by [@Keevle](https://github.com/Keevle)) # Usage examples See the [official examples](https://github.com/colyseus/colyseus-examples) for usage reference with the latest version of Colyseus. - [Colyseus + PixiJS Boilerplate](https://colyseus-pixijs-boilerplate.herokuapp.com/) ([source-code](https://github.com/endel/colyseus-pixijs-boilerplate)) - Simplistic agar.io implementation using [PixiJS](https://github.com/pixijs/pixi.js) - [Colyseus + BabylonJS Boilerplate](https://babylonjs-multiplayer.herokuapp.com/) ([source-code](https://github.com/endel/babylonjs-multiplayer-boilerplate)) - Bare-bones [BabylonJS](https://github.com/BabylonJS/Babylon.js) example - [Tic Tac Toe](https://tictactoe-colyseus.herokuapp.com) ([source-code](https://github.com/endel/tic-tac-toe)) - Tic Tac Toe using [PixiJS](https://github.com/pixijs/pixi.js) and [Defold Engine](https://defold.com) - [Collaborative Drawing Prototype](https://colyseus-drawing-prototype.herokuapp.com/) ([source-code](https://github.com/endel/colyseus-collaborative-drawing)) - Collaborative drawing using HTML5 canvas. - (outdated: < v0.8.x): [tanx](https://playcanvas.com/project/367035/overview/tanxcolyseus), [react-example](https://github.com/endel/colyseus-react-example), [LD35 entry: dotower](http://ludumdare.com/compo/ludum-dare-35/?action=preview&uid=50958) # Contributors Thanks goes to these wonderful people ([emoji key](https://github.com/kentcdodds/all-contributors#emoji-key)): | [