Overview

Proof of concept for a simple chatroom.

To host or join a chatroom, enter the IP address and port of the server, as well as the name of the chatroom to host/join, and the name to use in the chatroom.

Features

  • clients can pick their name and colour to appear when they send messages
  • hosts can optionally specify a password for the chatroom
  • the server can optionally encrypt all connections using TLS
  • the server can host multiple chatrooms simultaneously
  • the server can maintain chatrooms with no connected clients, up to a timeout period

Requirements

  • the server runs as a standalone Windows/Linux executable
  • the server host must have the specified port whitelisted in firewall rules with port forwarding enabled if necessary
  • if the server is started with the --use-tls option, the browser client won't work due to itch prohibiting TLS with self-signed certificates

Based on the websocket_chat demo from Godot demos. Uses modified versions of the WebSocketClient and WebSocketServer classes from that demo.

Published 17 days ago
StatusPrototype
CategoryOther
PlatformsHTML5, Windows, Linux
Authormaxplusplus
Made withGodot
Tagschatroom, demo, websocket
ContentNo generative AI was used

Download

Download
client-windows.zip 32 MB
Download
client-linux.zip 26 MB
Download
server-windows.zip 32 MB
Download
server-linux.zip 26 MB

Leave a comment

Log in with itch.io to leave a comment.