+1 vote

How do I make an online chat? There was a YouTube tutorial for making a chat UI and making it work, but it doesn't send the messages to everyone else's client, therefore making it just singleplayer chat. How can I send like a JSON or some encoded version of the chat message (like ASCII or something, idrk.) and send that information to each client, and then decode it on those clients and display it on a new line of the RichTextLabel containing every chat message? Help appreciated.

Godot version 3.2.3
in Engine by (77 points)
edited by

Have you had a look at the High-level multiplayer tutorial on the godot docs?

If you follow that, you should be able to send messages to all clients via an rpc function fairly easily

1 Answer

+1 vote

I don't have any experience with networking , but i think this website ould help : http://www.narwalengineering.com/2018/07/01/godot-tutorial-simple-chat-room-using-multiplayer-api/

by (22 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.