javascript - Should I use fixed or dynamic time step in a networking game? -


i developing online networking game using box2d js , vert.x server->client framework.

i have searched pros , cons of each , believe dynamic time step better since not assume each client has same processing power, however, there (many) people think fixed time step better.

please enlighten me.

you can throw determinism out window if timesteps not synchronized. when are, determinism difficult.

spending less computation on simulation have real costs may not apparent. each different setting (and in case of dynamic timesteps/iterations, each different individual execution) resulting behavior on same input can different. can have user run on slow hardware can potentially cheat through levels.

determinism perhaps marginally less important outside of multiplayer engine context, not having deterministic system make more difficult reason pretty (gameplay mechanics, game difficulty, exploits) can impact every kind of game can think of. imagine puzzle game wasn't deterministic.


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -