by RealNC » Mon Apr 01, 2019 5:10 pm
RealNC wrote: Mon Apr 01, 2019 10:55 amThe problem CZK has seems to be that it doesn't use the same height for both windows and that the graphics assets were too low resolution so that they didn't fill out the window they're in.
Looking into it, CZK actually does use the same height for all top windows. It's just that the images have a different aspect ratio than their window (which is very likely to happen, because different fonts have different aspect ratios),
and they're too low resolution and so can't fill out the whole width of their window.
I ran a few experiments with a constant scaling factor, and it does look like it's something that could help a lot with CZK. Before/after comparison:
->
Open both images in different browser tabs and switch between the tabs to see what's happening. This also helps your other games quite a bit (FoD and ND for example look nicer due to larger images.)
This isn't something that Hugor can do by default though. Images are not supposed to be scaled up. Doing this will break many existing games. So it will have to be an optional setting. Perhaps even a cfg-only setting.
[quote=RealNC post_id=100680 time=1554141305 user_id=914]The problem CZK has seems to be that it doesn't use the same height for both windows and that the graphics assets were too low resolution so that they didn't fill out the window they're in.[/quote]
Looking into it, CZK actually does use the same height for all top windows. It's just that the images have a different aspect ratio than their window (which is very likely to happen, because different fonts have different aspect ratios), [b]and[/b] they're too low resolution and so can't fill out the whole width of their window.
I ran a few experiments with a constant scaling factor, and it does look like it's something that could help a lot with CZK. Before/after comparison:
[url=https://i.imgur.com/0OaUJfi.png][img]https://i.imgur.com/0OaUJfim.png[/img][/url] [b]->[/b] [url=https://i.imgur.com/ljl6STR.png][img]https://i.imgur.com/ljl6STRm.png[/img][/url]
Open both images in different browser tabs and switch between the tabs to see what's happening. This also helps your other games quite a bit (FoD and ND for example look nicer due to larger images.)
This isn't something that Hugor can do by default though. Images are not supposed to be scaled up. Doing this will break many existing games. So it will have to be an optional setting. Perhaps even a cfg-only setting.