I'm not sure I understood what you mean with gameloop.Ranakastrasz wrote:The problem being that the gameloop runs every some number of ticks, which if it isn't the same for all players, it will desync.orzelek wrote:I'm pretty sure that global is only one.
You might need to store the data per player index or something along those lines.
Also, later, I will be storing fuel items in the armor for a burner generator, which even more obviously must be the same for all players.
Tick numbers are sent and synced - global is also as far as I know.If you can guarantee that for given tick number you will do same actions it shouldn't be a problem.