Hacker News new | ask | show | jobs
by sarchertech 1834 days ago
Yeah it’s just harder and potentially less performant. There are different levels—deterministic across the same architecture, different architectures etc…

The simplest example I can think of is being deterministic across different frame rates.

Imagine you move a player by adding x to it’s position each frame. You adjust x based on the frame rate so that you don’t move faster on a faster computer.

So on a computer tuning at 30 FPS you move 10 pixels each update. But on a computer running at 60 FPS you move 5.

You have walls that are 6 pixels wide. On the 60fps computer it works fine, but on the 30fps machine you can teleport through the walls.

1 comments

I guess this is similar to the Fallout 76 "physics is tied to framerate" snafu (where looking at the ground makes you go faster because the fps goes up...)

https://gamerant.com/fallout-76-speed-hack/