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

Collision boxes rounding errors in different aspect ratios

Open potsmugen opened this issue 1 year ago • 0 comments

Describe the bug

Collision box hit detection varies by one pixel depending on whether you're playing in 4:3 or 16:9. So far I was only able to find this bug in the Y axis.

To Reproduce

  1. Add this to KFM:
[State -2,  Test]
type = posset
trigger1 = teamside = 2
y = -81
  1. Select KFM vs KFM
  2. Try to hit P2 with a standing light punch
  3. Change Ikemen's resolution to a different aspect ratio
  4. Try to hit KFM again

Expected behavior

Since KFM's standing light punch Clsn1 reaches Y = -80, this move should miss in either aspect ratio. So 4:3 works correctly and 16:9 does not.

Screenshots / Video

640x480: ikemen009

1280x720: ikemen010

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