Online RPG Help!
BlitzMax Forums/BlitzMax Programming/Online RPG Help!
| ||
Hi, I know I've just posted, but I have another question. I'm working on an online RPG and I'm not sure what's the best way to send 20 different characters X,Y,Dir... using TNet. I'm using UDP and I have a host setup to connect the clients. I'm sending all of my characters stats like so TNet_SendUDP(1,","+X+","+Y+", ... "+","+PlayerNumber+",") with all the same "MessageType" 1. I can tell whose character is whose using the PlayerNumber included in the message. Is their a better way to do this, has someone done this before, if so please give me an example. I'm still new with TNet, just started using it 2 days ago, so please keep it simple. Thanks a ton, this really helps. |