Ikemen-GO
Ikemen-GO copied to clipboard
Collision boxes rounding errors in different aspect ratios
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
- Add this to KFM:
[State -2, Test]
type = posset
trigger1 = teamside = 2
y = -81
- Select KFM vs KFM
- Try to hit P2 with a standing light punch
- Change Ikemen's resolution to a different aspect ratio
- 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:
1280x720:
Engine Version (or source code date)
26/08/2023 but also 0.98.2
Operating system
Windows
Extra context or search terms
No response