I'm working on an app to play a tabletop roleplaying game i made. The game is played in a chat room, so I figured I could use the scirra chat example as a starting point and go from there.
I've read through all of the multiplayer tutorials, but still don't get some things. I have some basic questions about how data is sent.
1) I'm trying to create a chat app that has multiple rooms. When the user clicks on a room, they see messages that are sent to that room, but no others. What is the best way to go about this? In my capx, I'm trying to push all chat data to arrays, with one array for each room and then print that data to the rooms, but I either get it to the point where I can't see messages at all, or messages are showing up in rooms where they shouldn't be.
2) I've been able to send JSON info across the clients, but how do you do something simple like send info about the currently clicked on item in a listbox?
I've tried something like:
Peer message tag "roomSelected" message roomList.SelectedText
On peer message received > Do something with Multiplayer.Message, but nothing ever shows up in the Multiplayer.Message data.
3) For a chat room, do I ever need to use sync or associate object? I'm really kind of struggling to understand how it would work here, and the Chat tutorial doesn't make mention of it at all.
This is my capx here: https://www.dropbox.com/s/rt93j9xwaqbub ... .capx?dl=0
Sorry if these are really basic questions, but I've read through the tutorials and searched the forums and not really found any answers.