Moving AI in a multiplayer game

Posted by Smallbro on Game Development See other posts from Game Development or by Smallbro
Published on 2012-07-21T11:49:59Z Indexed on 2012/09/19 15:55 UTC
Read the original article Hit count: 277

Filed under:
|

I've been programming a multiplayer game and its coming together very nicely. It uses both TCP and UDP (UDP for movement and TCP for just about everything else). What I was wondering was how I would go about sending multiple moving AI without much lag. At first I used TCP for everything and it was very slow when people moved. I'm currently using a butchered version of this http://corvstudios.com/tutorials/udpMultiplayer.php for my movement system and I'm wondering what the best method of sending AI movements is. By movements I mean the AI chooses left/right/up/down and the player can see this happening.

Thanks.

© Game Development or respective owner

Related posts about java

Related posts about networking