Tuesday, July 15, 2025
spot_img

How one can match UI textual content dimension and place between editor and construct?


Within the editor, it doesn’t matter if I set the decision within the recreation view to my laptop decision (1920×1080) or to "Free Facet".

The one factor that adjustments is that in "Free Facet", I can see the whole lot larger, making it simpler to deal with and see issues.

However is not 1920 x 1080 what I ought to really see within the construct? After constructing the sport and working the exe file, ought to I see the identical settings I see as they’re within the editor?

As a result of that is how the construct appears to be like when working the exe file.
The total display is okay, however the UI textual content is just too small and doesn’t match. In contrast to within the editor, within the construct there may be not sufficient hole for the UI textual content above the map. The maze grid and the UI texts are additionally not in the identical locations as they’re within the editor.

If I modify the digicam dimension, then the map the maze grid turns into too huge inside the sport view window.

Right here is the view when working the executable:

Full screen when running the build exe file but the UI texts are not in place and there is no gap on the top.

That is the editor with recreation view decision set to 1920×1080. It appears to be like too small and likewise the UI texts are too small and never in the best locations:

When resolution in the game view is set to 1920x1080

Now on this screenshot picture I modified the decision within the recreation view to "Free Facet" and now the entire map maze grid is far larger and simple to see.

However now once more the UI texts are too small and never in the best locations. If I do set them in the best locations in construct, then when working the exe file, they won’t be in place.

game view resolution is now set to free aspect.

The identical drawback occurs when the decision within the editor is 1920×1080 – once I set the UI texts in the best locations in editor, within the constructed executable they won’t be in place.

This screenshot exhibits the decision settings in: Edit > Mission Settings… > Participant > Decision and Presentation.

Resolution is set to 1920x1080 and full screen window

I’ve two canvases within the hierarchy and each have the identical settings:

  • display area overlay
  • scale with display dimension
  • X 1920 Y 1080
  • match 0.5

Canvas settings

i am unable to discover the "good" stability between the editor preview within the recreation view and the construct exe file, in every it appears to be like totally different, and the sport view display is rarely straightforward to take a look at, generally too huge or too small.

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisement -spot_img

Latest Articles