Getting StartedConstruct 3 Construct 3

Construct 3

Installation

⚠️

You need a server to use Colyseus!

Construct has well-known existing features to “host” a multiplayer session from the frontend. This is not possible when using Colyseus. Colyseus is an authoritative server, written in Node.js. You can’t let your frontend host the game sessions directly.

Example project

Please explore this demonstration project to understand how to use Colyseus with Construct3.

Some of the concepts covered in this project:

Joining a Room

Joining a room, handling incoming messages from the server, and handling a connection close.

Listing available Rooms in the server

Listening for changes in the State

Listening for add/remove events on Maps and Arrays within the State