opentyrian / opentyrian

An open-source port of the scrolling shooter Tyrian.
GNU General Public License v2.0
445 stars 71 forks source link

Feature Request - Correct "in game displays" when flipped smoothie is true #61

Open NickGuyver opened 1 year ago

NickGuyver commented 1 year ago

On two levels, during the boss battles, everything on the screen flips vertically, including the "in game displays"/overlays (e.g., score/cash,...). I thought this was a weird bug until I looked it up on the wiki, and saw that it was a part of those battles.

Making it so those displays remain normally oriented, would be a better method and not look like a bug. I tried figuring this out myself but the best I could come up with was removing the overlays if the flipped smoothies were active. This seemed "okay" for my skills, since it would be limited to the boss battles, but decided to post as a feature request so you can provide a proper fix.

tyrian2.c line 2327 if (!smoothies[9 - 1]) JE_inGameDisplays();

seifer7 commented 1 year ago

The original game flipped all your GUI as well, so, I think it should stay that way. Also, it adds to the weird "charm" of the whole concept.

carlreinke commented 1 year ago

I could probably go either way on this. On one hand, it is working the same as the original and, when flipped, the in-game displays are obscuring the same part of the game that they normally do. On the other hand, the rest of the UI isn't flipped.

There's also a middle-ground option to keep the flipped locations but draw the text so that it's readable. That might be a nice QoL improvement.

NickGuyver commented 1 year ago

keep the flipped locations but draw the text so that it's readable. That might be a nice QoL improvement.

That would be great.