Medabots / medarot3

Medarot 3 GBC disassembly/translation
34 stars 6 forks source link

Credits - Off-center fix #171

Closed Blaziken257 closed 1 year ago

Blaziken257 commented 1 year ago

This fixes an issue where text wasn't centered correctly in the credits screen. The issue was that when calculating the positioning, it didn't take into account that there is a 1-pixel-wide gap between characters. Therefore, text would be farther to the right than it should have been. The more characters there are, the farther to the right the text would be. This was especially noticeable when different lines had different amounts of characters.

Examples of earlier, incorrect centering:

M3_Credits_Staff_incorrect M3_Credits_Voices_incorrect

Examples of fixed centering:

M3_Credits_Staff_fix M3_Credits_Voices_fix

VariantXYZ commented 1 year ago

CC: @andwhyisit