I’m working on the development of a visual novel in Unreal Engine 5 and I’m facing a problem that I can’t solve. I need to prevent players from being able to manually scale the game window, as this can deform the interface. I wonder if any of you have faced this challenge and could help me find a solution.
I have researched and tried different approaches, but I have not been able to find a clear option within Unreal Engine 5 to disable manual scaling, is there a specific button or setting that would allow me to cancel this option and keep the UI intact?
It’s important to note that the backgrounds in my visual novel are images and I need to make sure they keep the same proportion as the camera capturing the game. If it is not possible to avoid manual scaling altogether, is there any way to at least keep the UI fixed in relation to the game image?
I am grateful in advance for any help or suggestions you can give me - your experience and knowledge will be of great value to me!
You mean scaling the window as in dragging the window corners with the cursor? Go to Project Settings → Project → Description → Settings → Disable ‘Allow Window Resize’
For some reason doing what you say doesn’t change anything at all maybe it does in the final game? Anyway I have fixed the problem, it was a beginner’s mistake.
I solved the mystery, I realized that in the main menu the menu items were not out of alignment when changing the format of the game window, but in the rest of the menus if it happened.
Then I came to the conclusion that the problem was found when passing from the main menu to the rest of menus and I saw that it was necessary to add again this node “add to player screen”, since when passing to another menu and eliminating the previous one its effect is lost.