Can various browsers be assumed to maintain predictible state accurately in multiplayer online gaming?
Posted
by
Nikos
on Game Development
See other posts from Game Development
or by Nikos
Published on 2014-05-08T15:29:50Z
Indexed on
2014/06/08
21:43 UTC
Read the original article
Hit count: 243
With many games it is said that server will assume that clients keep track of the world accurately. Assuming this is true, for a browser based multiplier space invaders game you would only tell the client when new bullets or the players ship moves and everything that behaves in a predetermined manner in the js client.
It would be expected that positions would be the same in the browsers. Do you think you could trust browsers to do this? I feel that timings could differ between rendering loops and cause positions to get out of sync and might just get the server to maintain all the positions to make sure.
© Game Development or respective owner