Building a basic multiplayer 3d top down rpg using babylon.js and colyseus
- fully authorative movement with client side prediction and server reconciliation (server is king)
- Simple scene management & switching
- animated characters (multiplayer works too)
- zoning system (ability to teleport to different locations)
- global chat (works accross zones)
- server controlled collisions
- integrating mysql lite *(work in progress)
You can follow the progress here: FORUM POST
- Download and install Node.js LTS
- Clone or download this repository.
- Run
yarn install
- Babylon.js (3d rendering engine)
- Colyseus (networking)
- SQLite (database)
- Run
yarn client-dev
- Run
yarn server-dev
The client should be accessible at http://localhost:8080
.
The WebSocket server should be available locally at ws://localhost:2567
, and http://localhost:2567 should be accessible.