xaeroxx
July 4th, 2007, 03:48 AM
Hi I am new to network game programming and I have only written some easy turn based games(like checkers) so far... It was easy since client side determines the rules and just transmits the moves to the other client through server. What I wonder is, how does it work in real-time games. For example in a FPS(first person shooter) game, who determines the rules, who makes the calculations... server side? or each client makes its own calculations and send to other clients (like "I hit you" - "ok ok I'm hit")? or all client makes all of the calculations? and what about the syncronizations for ex. if I launched a rocket, should I say just "I launched it at that position with that speed - you calculate the rest!" or should I send the new position always saying "this is my rocket, I am responsible for it"?
Sorry it was a bit long but I am trying to write a multiplayer "Crimsonland like" game and I am very confused about "who send what - who calculates what" things. Any explanations or any link (if there is such an article) would be very useful for me.
Thanks,
xaeroxx
Sorry it was a bit long but I am trying to write a multiplayer "Crimsonland like" game and I am very confused about "who send what - who calculates what" things. Any explanations or any link (if there is such an article) would be very useful for me.
Thanks,
xaeroxx