• Alberat@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    2 hours ago

    it’s for speed. if I tell you they’re out of sight now, but will be visible in 50ms, it’ll be faster than waiting 50ms to recv their new position that’s visible and waiting on network latency which could be another 50ms in addition

    • Sir_Thominick_IV@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      58 minutes ago

      I’ve been working on a PvP game for the last few months.

      Visibility checks aren’t needed in all cases. Most RTS/2D/2.5D games don’t have this problem, or it is minimal.

      For games that do need them, they tend to be AAA FPS, which have the budget to make simple changes like lag compensation.

    • Echo Dot@feddit.uk
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      2 hours ago

      Right but we’re talking about 100s of ms of human reaction time (faster reaction time is around 200ms for ultra pros). Wall hacks where you only get 100ms of warning aren’t much good. So they absolutely could do something with it.