I am wondering how I would go about putting a chat system in my game. one like the one built into the playcanvas editor. so players could communicate and team up to fight other bean soldiers.
Is it possible for me to just make a text-editable bar in the player UI and when the player clicks on it it’s editable, let the player type in said bar, then when the player is done typing and presses enter it creates a copy of said text into a box on the ui therefor there would be no need for a websocket or anything like that?