/t5c

Building a basic multiplayer 3d top down rpg using babylon.js and colyseus

Primary LanguageTypeScript

T5C

Building a basic multiplayer 3d top down rpg using babylon.js and colyseus

Current progress:

  • 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)

Roadmap

You can follow the progress here: FORUM POST

Requirements

  • Download and install Node.js LTS
  • Clone or download this repository.
  • Run yarn install

Technology

  • Babylon.js (3d rendering engine)
  • Colyseus (networking)
  • SQLite (database)

How to run client

  • Run yarn client-dev

How to run server

  • 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.