haekb / nolf2-modernizer

NOLF 2 Modernizer aims to unlock resolution support, restore multi-player support, and fix a few bugs here and there.
https://haekb.itch.io/nolf2-modernizer
30 stars 4 forks source link

[WIP] Center Interfaces #25

Closed haekb closed 4 years ago

haekb commented 4 years ago

Lotta boilerplate woo.

For future code consumers, I've adjusted SetScale to ApplyPosition. This takes both scale and offset. I was originally going to do some COOL chaining with return this;, but like why bother when I could just make one function yo.

You can still set scale and offset separately, but you'll still need to call applyposition.

haekb commented 4 years ago

Some things left: -Help text doesn't overlaps back button on ultra-wide resolutions -Menu text is pushed over too far -Menu text doesn't adjust on resolution change -Pickup notices seem too far to the centre.

haekb commented 4 years ago

Okay I'll create a new issue for ultra-wide resolutions, but so far this looks good enough!