• mindbleach
    link
    fedilink
    English
    arrow-up
    31
    ·
    9 months ago

    Any modern PC is a goddang supercomputer, and there’s no excuse for yet-another-RPG running poorly.

    Do less per frame. Do things less often. Or just uncouple your main do-stuff thread from the show-stuff thread, so the game renders at 60 Hz, even if everything but your character updates mere dozens of times per second. It’s not a twitch shooter. Giving dudes an animation to play and a vector to run along is perfectly fine for interpolation between what’s-this-guy-doing events.

    You can favor anything the player’s looking at. You can favor anything gameplay-critical. Cheating your ass off does not have to mean enemies run against walls or run through walls. But it shouldn’t mean an engine you’ve been using, for years, runs like you heard about optimization on the back of a cereal box. You had time to bodge this sort of nonsense.

    “Will it run Crysis?” was a cute joke back when devs had no idea what they were doing… and still gave artists every new effect they could describe. All those gimmicks have since been distilled onto a potato, and then surpassed by physically-based rendering, which also runs on the potato. This game looks like any current PBR pipeline… but slower. Honest warnings would be better, but if you did it right, there’d be nothing to warn about.

    • nivenkos@lemmy.ml
      link
      fedilink
      English
      arrow-up
      7
      ·
      9 months ago

      The issue is the physics. 60Hz doesn’t give you much time to do everything that needs to be calculated in the interval. All the objects can interact with one another so it’s not easily independent and parallelisable.

      There’s still optimisations that can be made - disable physics and have only certain actions enable them for nearby objects, smaller physics range, fewer physics-enabled objects, etc. - but those all have drawbacks for the gameplay and realism too.

      • mindbleach
        link
        fedilink
        English
        arrow-up
        4
        ·
        9 months ago

        What ragdoll avalanche is happening in towns? This RPG isn’t set amid an immersive simulation with Teardown’s physics. It’s some guys walking around a fairly static environment. Even if the cloth animation is jawdropping or dust falls off the awnings as you stomp past, that’s not an O(N^2) situation. Hell, even when every thing can bump every other thing, there’s acceleration structures for that. A falling brick isn’t hitting anything in the next town over. A dropped helmet shouldn’t bounce to the moon.

        This problem is not new. There can be reasons. But not excuses.