I am beginning to test online multiplayer with TCPSockets. Well, for now just doing it localhost.
I am first making some kind of chat (by the way, TextInput class is plain awesome, love Gosu). And so far it is working kinda well (I'm new to all this networking stuff). But I can tell it is delicate and will crash easily.
I am wondering what tips do you have for this. What do you do when working with this kind of situation? How do you control when a player connects, leaves (when expected, and when unexpected), or internet speeds, etc........ So yeah, tips and whatnot here. Thanks!
Loading...