百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
C

colyseus-babylonjs-boilerplate

> 编程语言
开源

BabylonJS + Colyseus: 多人游戏《Boilerpate》

100 stars0 点赞5 次浏览
访问官网GitHub

工具介绍

BabylonJS + Colyseus: 多人游戏《Boilerpate》

Project archived. For an up-to-date example, please check:

  • https://doc.babylonjs.com/guidedLearning/multiplayer/Colyseus
  • https://github.com/colyseus/tutorial-babylonjs-client
  • https://github.com/colyseus/tutorial-babylonjs-server

BabylonJS + Colyseus: Multiplayer Boilerplate

This is a project setup to use BabylonJS 4.x with Colyseus 0.14.x.

Tooling

  • Webpack 4.x
  • TypeScript 3.x
  • BabylonJS 4.x
  • Colyseus 0.14.x
  • Node.js 12.x+ | Live demo

Requires NodeJS v12.0.0+

How to use

Check out this repository.

bash
git clone https://github.com/endel/babylonjs-multiplayer-boilerplate.git

Inside this repository, there's two separate applications. The client (babylonjs + colyseus client) and the server (nodejs + colyseus server).

Client application

To be able to build the client application, you'll need to enter in the folder, and install its dependencies first.

bash
cd babylonjs-multiplayer-boilerplate/client
npm install

Now you can build and run it by running:

bash
npm start

It will spawn the webpack-dev-server, listening on http://localhost:8080.

Server application

For the server, the steps are exactly the same. Install the dependencies:

bash
cd babylonjs-multiplayer-boilerplate/server
npm install

Now you can build and run it by running:

bash
npm start

It will spawn a web socket server, listening on ws://localhost:2657.

Documentation

  • BabylonJS documentation
  • Colyseus documentation

License

Apache License 2.0

Issues· 1 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

TypeScriptbabylonjsboilerplatecolyseuscolyseus-sample

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言