Cross Platform Floating Point Consistency

前端 未结 4 823
隐瞒了意图╮
隐瞒了意图╮ 2020-11-29 09:26

I\'m developing a cross-platform game which plays over a network using a lockstep model. As a brief overview, this means that only inputs are communicated, and all game log

4条回答
  •  天命终不由人
    2020-11-29 09:56

    Next to your concerns on determinism, I have another remark: if you are worried about calculation consistency on a distributed system, you may have a design issue.

    You could think about your application as a bunch of nodes, each responsible for their own calculations. If information about another node is needed, it should sent to you by that node.

提交回复
热议问题