ikemen-engine / Ikemen-GO

An open-source fighting game engine that supports MUGEN resources.
https://ikemen-engine.github.io
Other
719 stars 125 forks source link

Screenpack sprites are wider than intended #1615

Open AnonyMorshu opened 8 months ago

AnonyMorshu commented 8 months ago

Describe the bug

Sprites and BGs of the M.U.G.E.N. 1.0 screenpack are stretched and cut off by one pixel on the left/right of the screen. Below is a test BG I made with text, a red border, 35x16 RGB blocks, and vertical lines at the 319th/320th columns of pixels to demonstrate the stretching in action. TestBG Below is a comparison between M.U.G.E.N. 1.1B and I.K.E.M.E.N.: image image Furthermore, the same error also affects column 960 on the right (implicated by the arrows).

To Reproduce

1: Set game aspect in Config.JSON to 1280x720. 2: Download test case edit.: mugen1.zip 3: See error.

Expected behavior

The red border lines on the left and right should both be visible, and the red and blue vertical lines should both be one pixel in width.

Screenshots / Video

Changing the BG's alignment to 639 stretches the blue line instead, but does display the left red border. image

Engine Version (or source code date)

1/29/24 Nightly, dates back as far as 0.98.2.

Operating system

Windows

Extra context or search terms

May relate to this comment on issue #205, but I doubt it.

AnonyMorshu commented 7 months ago

The issue affects on-screen text as well, observing characters in the affected columns (highlighted for clarity) on the default WinM.U.G.E.N. screenpack. image Tested on the 11/7/23 Nightly I had lying around.