Back to Trending
RepositoryTypeScriptBRBrazil
endel

endel/colyseus-babylonjs-boilerplate

BabylonJS + Colyseus: Multiplayer Boilerpate

100stars
34forks
0issues
0views

🎮 BabylonJS + Colyseus: Bộ khung game đa người chơi 3D web sẵn

Dự án đã ngưng phát triển. Mẫu cập nhật mới nhất tại tài liệu BabylonJS.

Đây là bộ cài đặt mẫu kết hợp BabylonJS phiên bản 4.x với Colyseus 0.14.x, giúp nhanh chóng khởi tạo dự án game đa người chơi thời gian thực trên nền WebGL. Dự án bao gồm cả máy khách (client) và máy chủ (server), mỗi phần đều có cấu trúc riêng biệt, dễ dàng mở rộng.

✨ Điểm nổi bật

  • Cấu trúc hai phần: Client (BabylonJS + Colyseus client) và Server (Node.js + Colyseus server) được tách rõ rệt, dễ quản lý và phát triển độc lập.
  • Webpack 4.x: Hỗ trợ bundling và chạy phát triển nhanh với webpack-dev-server.
  • TypeScript 3.x: Cung cấp kiểu dữ liệu mạnh mẽ cho cả client và server.
  • WebSocket server: Chạy trên cổng 2657, hỗ trợ kết nối đa người dùng thời gia thực.
  • Triển khai nhanh trên Heroku: Hỗ trợ triển khai bằng một cú nhấn với nút Deploy của Heroku.
  • Yêu cầu môi trường nhẹ: Chỉ cần Node.js v12.0.0 trở lên để chạy cả hai phần.

💡 Vì sao đáng chú ý

Dự án cung cấp một bộ khung hoàn chỉnh để phát triển game đa người chơi 3D ngay trên trình duyệt, kết hợp sức mạnh của BabylonJS trong render đồ họa 3D và Colyseus trong quản lý trạng thái đồng thời thời gian thực. Đây là lựa chọn lý tưởng cho những nhà phát triển muốn nhanh chóng thử nghiệm ý tưởng game đa người chơi mà không cần thiết lập kiến trúc từ đầu. Tuy nhiên, dự án đã ngưng cập nhật, người dùng nên tham khảo các tài liệu chính thức của BabylonJS và Colyseus để có ví dụ mới nhất.


#BabylonJS #Colyseus #Multiplayer #GameDevelopment #TiniX

Similar Projects

Discover other similar projects and AI models.

RepositoryTypeScript
orion3dgames/t5c

Building a open source multiplayer 3d rpg using babylon.js and colyseus

184
Apr 1, 2026
RepositoryJavaScript
colyseus/demo-tic-tac-toe

Colyseus 0.16: Turn-based Multiplayer Example

110
Sep 3, 2025
RepositoryTypeScript
ant-design/ant-design-pro

👨🏻‍💻👩🏻‍💻 Use Ant Design like a Pro!

38.9k
Oct 26, 2026
RepositoryTypeScript
JCodesMore/ai-website-cloner-template

Clone any website with one command using AI coding agents

37.5k
Oct 19, 2026
RepositoryTypeScript
electron-react-boilerplate/electron-react-boilerplate

A Foundation for Scalable Cross-Platform Apps

24.3k
Oct 12, 2026
RepositoryTypeScript
kriasoft/react-starter-kit

Modern React starter kit with Bun, TypeScript, Tailwind CSS, tRPC, Stripe, and Cloudflare Workers. Production-ready monorepo for building fast web apps.

23.7k
Oct 19, 2026
RepositoryTypeScript
ixartz/Next-js-Boilerplate

🚀🎉📚 Nextjs Boilerplate and Starter with App Router and Page Router support, Tailwind CSS 4 and TypeScript ⚡️ Made with developer experience first: Next.js 16 + TypeScript + ESLint + Prettier + Drizzle ORM + Husky + Lint-Staged + Vitest + Testing Library + Playwright + Storybook + Commitlint + VSCode + Sentry + PostCSS + Tailwind CSS ✨

13.1k
Oct 8, 2026
RepositoryTypeScript
vercel/next-forge

Production-grade Turborepo template for Next.js apps.

7.7k
May 28, 2026
RepositoryTypeScript
colyseus/colyseus

⚔ Multiplayer Framework for Node.js

7.5k
Oct 26, 2026