Implement Corner To Corner Targeting

Discussion in 'Suggestions' started by FaxCelestis, May 22, 2012.

  1. FaxCelestis

    FaxCelestis Will Mod for Digglebucks

    example.png

    My character is safe from the gargoyle on the left, but not the one on the right. This is a quirk of the targeting system I'd like to see fixed, via implementing corner to corner targeting.

    Basically, if I have clear line of sight from one corner of my square to one corner of your square, I can hit you. Let me illustrate. This is the current targeting:
    example-current-l.png
    example-current-r.png

    And this is the targeting I'm proposing.
    example-c2ctargeting.png
     
    OmniNegro and Glazed like this.
  2. Essence

    Essence Will Mod for Digglebucks

    That would make arrow traps much more annoying. I like it. :)
     
    OmniNegro likes this.
  3. Glazed

    Glazed Member

    OmniNegro likes this.
  4. Nicholas

    Nicholas Technology Director Staff Member

    I should just fix my Bresenham's implementation and be done with it.
     
  5. Glazed

    Glazed Member

    I feel like your always going to have confusing aliasing issues with a line rasterization algorithm. It's difficult for players to determine if their bolts should hit their target, or if a trap will hit them, even if the algorithm is perfectly consistent. The power of a corner-to-corner algorithm is that it's easy for a player to visualize.

    Not that it's necessarily worth programming. I think of it as a "pie in the sky" kind of feature request.