Introduction to Colyseus and Xterm.js - Building a Social Terminal in JavaScript and Node.js
Offered By: Chris Hay via YouTube
Course Description
Overview
Explore the process of building a social terminal using Colyseus and xterm.js in this comprehensive 46-minute video tutorial. Learn how to create a Colyseus server with JavaScript, Node.js, and WebSockets, and implement a real-time terminal where participants can see each other's keystrokes. Discover the power of game engines in the metaverse for managing world state and social experiences. Follow along as the instructor guides you through creating custom room types, handling sessions, broadcasting messages, and integrating xterm.js with Colyseus. By the end, gain practical knowledge to develop your own solutions using these technologies, with code available on GitHub for further exploration.
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
Related Courses
Advanced Monitoring and Optimizing with DynamoDB (Spanish)Amazon Web Services via AWS Skill Builder Advanced Monitoring and Optimizing with DynamoDB (Simplified Chinese)
Amazon Web Services via AWS Skill Builder Amazon Connect Developer Assessment
Amazon Web Services via AWS Skill Builder Amazon DynamoDB for Serverless Architectures (Japanese)
Amazon Web Services via AWS Skill Builder Amazon DynamoDB for Serverless Architectures (Simplified Chinese)(中文配音版)
Amazon Web Services via AWS Skill Builder