Hello again,
I was wondering if any one had achieved a chat system in Defold and how they did it? Currently I’ve been mulling over experiments to try, and my idea was that when the player hit enter, an object named chatbox would achieve focus and activate a “caret” object which would display that the chatbox was awaiting instruction, and a function which waited for any input from the keyboard. It would then display the pressed keys. When the player hit enter a second time, the text (Which would be set as a variable) would be sent as a message to a script which would create a “chat” object with a text child, and set it’s text to the variable. The variable would be reset after the message was sent. Then, somehow, I’d have to recall each object and “bump” it every time a new message appeared to create space for the new one. Does this sound logical and applicable, or would I be forced to do it some other way. Also, is there an easier/simpler way?