Mail Archives: djgpp/2000/05/15/17:46:53
Hello all -
I've been trying to write a game that is sort of a networked capture the flag,
with tanks. I was hoping to have about 8 players in the game at a time, but I'm
having lag problems with just 4. What I'm doing is I've got a timer routine
that keeps the frame rate at about 13-15 fps. My packets are only 44 bytes
long, and I'm sending them at a rate of about 1/frame. Another thing I'm doing
is I have player numbers assigned to all the computers, and one computer, say
#5, wont send it's packet, or progress in the main game loop, until computer #4
sends it's packet, and same for the others.
A few things I'm wondering about is, am I sending the packets too fast? Are
the packets too big?
Thanks,
Jared Stevens
- Raw text -