TerryCavanagh / VVVVVV

The source code to VVVVVV! http://thelettervsixtim.es/
Other
7k stars 559 forks source link

Fix position of crewmate in "You have rescued a crew member!" box #1054

Closed Daaaav closed 11 months ago

Daaaav commented 11 months ago

Changes:

At first my CJK changes also misaligned this sprite, and my solution that time was to position the textbox higher depending on the height of the textbox, so it would be centered around the crewmate sprite (which stayed at a hardcoded place onscreen). Recently, #987 changed these sprites to be relative to the position of the textbox instead of relative to the screen, which is much more logical, but it stopped centering these sprites again. But it's an easy fix: simply account for the extra-added height when adding the sprite in.

Before: "You have rescued a crew member!" but in Chinese, misaligned

After: The same but aligned correctly

And in flip mode: The same but in flip mode

Legal Stuff:

By submitting this pull request, I confirm that...