blofeld
11-19-2004, 08:43 AM
hi there,
i just finished a worms / artillery duel like game, which has to go multiplayer now.
it has to be turn based and i' m thinking about how to do it.
the concept of the game is. that every player has his turn where he
can jump/walk around in the map and then fire his weapon.
after the explosion there is a function that checks how much harm was done, makes the nessecary adjustments and then it's the next players turn.
now one way to wrap this up would be to record all the players movements and the consequences and send it to the other players to be replayed.
i tried this with a local connection and it seems to work fine, but the major drawback would be that on the other players screens there would be nothing happening until the current player is done or until the time limit of 20 seconds is up.
to send the data live would be impossible at a frame rate of 31 fps.
now should i break the players movements into bits like walking/jumping firing an send those ?
btw. the map is represented in an array so i hopefully will not get the "but i wasn't dead !" syndrome
any suggestions are pretty welcome .
thanks in advance
i just finished a worms / artillery duel like game, which has to go multiplayer now.
it has to be turn based and i' m thinking about how to do it.
the concept of the game is. that every player has his turn where he
can jump/walk around in the map and then fire his weapon.
after the explosion there is a function that checks how much harm was done, makes the nessecary adjustments and then it's the next players turn.
now one way to wrap this up would be to record all the players movements and the consequences and send it to the other players to be replayed.
i tried this with a local connection and it seems to work fine, but the major drawback would be that on the other players screens there would be nothing happening until the current player is done or until the time limit of 20 seconds is up.
to send the data live would be impossible at a frame rate of 31 fps.
now should i break the players movements into bits like walking/jumping firing an send those ?
btw. the map is represented in an array so i hopefully will not get the "but i wasn't dead !" syndrome
any suggestions are pretty welcome .
thanks in advance