Dear mobile game devs. When I play games like that, I always wonder if it’s the physics engine that’s actually random and produces the result?

Or is the result calculated before the animation happens, and dictates the animation?

I’ve always wondered. I have some notion of programming, but from far back, and I’ve been scratching my head long enough about this.

Thanks in advance.

  • AeroLemming@lemm.ee
    link
    fedilink
    English
    arrow-up
    1
    ·
    5 months ago

    The fuzzing of the plunger input is what I was thinking about. You could run a bunch of simulations right as the plunger is released with slightly different inputs and then pick the one with the desired result to display on the screen. You’d need to have a pretty efficient simulation, but the user would be none-the-wiser.