Overview
Syllabus
- why game engines are important in the metaverse
- creating a colyseus.js server
- introduction to xterm.js
- creating an xterm.js terminal
- hosting xterm.js and colyseus on the same server
- using express and middleware to host xterm.js and colyseus together
- establishing a websocket connection between xterm.js and colyseus
- extending colyseus with custom rooms types
- logging out on colyseus server when a room is created or destroyed
- handling sessions joining or leaving rooms in colyseus
- broadcast joing leaving rooms to other room participants
- broadcast messages to others in the chat room
- sending keyboard input from the xterm.js to colyseus
- the social terminal
- conclusion
Taught by
Chris Hay