Ikemen-GO icon indicating copy to clipboard operation
Ikemen-GO copied to clipboard

Horizontal hit detection error

Open potsmugen opened this issue 1 year ago • 0 comments

Describe the bug

It looks like hit detection in the X axis is off by one pixel.

To Reproduce

  1. Try this slightly modified KFM: kfmclsn.zip
  2. Select KFM vs KFM
  3. Use standing light punch

Expected behavior

Since the punch has a Clsn1 with reach of 100 and P2 is 100 pixels away, it should probably barely hit (Clsn2 was modifited to start at 0 pixels). To be sure, if you put P2 101 pixels away it still connects, which definitely should not happen.

Actually, comparing it to Mugen 1.1:

At 100.0 pixels of distance it hits in both Ikemen GO and Mugen 1.1 At 100.1 pixels it hits in both Ikemen GO and in Mugen 1.1 At 100.5 pixels it hits in Ikemen GO but misses in Mugen 1.1 At 101.0 pixels it hits in Ikemen GO but misses in Mugen 1.1

Screenshots / Video

101 pixels in Mugen 1.1: mugen010

101 pixels in Ikemen GO: ikemen015

Engine Version (or source code date)

26/08/2023 but also 0.98.2

Operating system

Windows

Extra context or search terms

No response

potsmugen avatar Aug 26 '23 08:08 potsmugen