|
|
|
|
|
by larrry
68 days ago
|
|
The core of my multiplayer arena game is in fixed point I wanted absolute certainty that the rollback netcode would result in identical simulations on any platform, and integer math provides that. With set of wrapper functions and look up tables for trig it’s not that much worse than using regular floats I am still uncertain if I actually would have been fine with floats, being diligent to round frequently and staying within true integer representable range… but now at least I’m far less afraid of game desyncs and it wasn’t that much work Cross platform, cross USA games have been stable and fun to play, no fixed point complaints here |
|
[0] https://github.com/J-Montgomery/rfloat
[1] https://github.com/sixitbb/sixit-dmath