Why do some lockstep RTS games use fixed-point maths instead of floats?
- Floats can differ across machines
- Fixed-point always uses less bandwidth
- GPUs cannot handle float maths
- Fixed-point avoids all overflow
Different CPUs, compilers and instruction sets can round floats differently; integer fixed-point gives bit-identical results so every peer stays in sync.
Play Game Dev ▸