SmartlyDressedGames / Unturned-3.x-Community

Community portion of the Unturned-3.x repo. If you have access to the source code you can find it here:
https://github.com/SmartlyDressedGames/Unturned-3.x/
88 stars 18 forks source link

Inventory HUD is not scaled properly #2123

Closed iBowie closed 3 years ago

iBowie commented 3 years ago

Before: before After: after

SDGNelson commented 3 years ago

Assuming you are referring to the item header bars: this was an intentional change. I am open to feedback on this if players would prefer it to match the scroll width again.

samuelttrodrigues commented 3 years ago

liked better this new way, smaller resolutions looks smoother.

DerpyHoowes commented 3 years ago

изображение Chat now becomes gold if you have a gold account (I guess it was intended so and this feature could probably be in the game before the update, but I personally had my chat color same as the one set in options, instead of gold one, and it was far better) yet the cursoir uses color set in options.

Scrolling bars turn white when held, instead of turning green (or any color that you specified in the Interface Background Color setting). изображение

Speaking of header bars, old ones were better. New header bars leave a huge blank space between inventory and scrolling bar. Even if the scrolling bar will be moved next to the inventory slots (which isn't even possible, as I assume, because there are modded clothing items with way more slots lenght than the header bars length), there will be an annoying blank space between scroller bar and Nearby items iventory. I see absolutely no reason for such a change and agree with BowieD.

Also shading on the FPS counter and map names is very annoying, since all the other text has no shading. Also this shading seems to overlap the letters in some spots изображение

Overall the changes seem really forced and ureasonable, especially the font change. Unturned was totally fine with Arial, the new font looks very bad. This title makes my eyes bleed.

изображение

iBowie commented 3 years ago

Most certainly that looks straight up bad image

SDGNelson commented 3 years ago

After re-investigating there were two reasons for this change in the refactor:

  1. In order for scrollwheel input to be handled by the list there needs to be an invisible panel behind the grid empty space, but this blocked the item drop.
  2. With IMGUI my scaling logic used the view width, whereas with uGUI the actual content size is used which means wide inventories cannot scroll on wide screens if it uses the scroll view width.

For the .2 patch tomorrow morning I will restore the old alignment. This will prevent the horizontal inventory scrollbar from being used, but that is a rare case. There will be an invisible button to catch the item drops when not clicking on grids.

@DerpyHoowes the chat box was gold before, but I am reconsidering some of the gold elements of the UI in favor of prefs. Now the scrollbar handles use the "foreground" color giving you more control than before. The font change is the IMGUI default vs uGUI default, but I do want to experiment with making it sharper.

SDGNelson commented 3 years ago

Best of both worlds should be restored in the next update. #2203