Hi! I just purchased AC and am going through your Youtube video, and I'm having trouble with the wizards. As you can see in my screenshots, the reflow in them is really weird and makes them difficult/impossible to use since they can't be resized. If I adjust my UI scaling under Unity/Preferences, it fixes the problem, but then everything in Unity is annoyingly large. Any thoughts or suggestions?
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
Welcome to the community, @Craig72.
Apologies for the early trouble.
Thank you for the screenshots. It looks like the windows are half the size they should be - in respect to the text. Can you share an uncropped screen so that I can see if it's a case of the text being too large, or the window too small?
What platform are you working on, at what resolution, and were they taken at a custom UI scale. If so - what value? I'll see if I can attempt a recreation.
In the meantime: it's a quick hack, but it's possible to alter the size that these windows appear by opening up the NewGameWizardWindow and CharacterWizardWindow scripts respectively, and modifying the DefaultWindowRect property at the bottom of each.
This is a Rect whose last two values represent the width and height of the window respectively - i.e. 600x440 in the case of the Character wizard. You might find increasing these - particularly if the issue is they are too small - allows you to view them properly.
PS: Apologies also for your post being moved to the spam queue. Not sure why that happened - but I've verified your account so it shouldn't happen again.
Update: I've managed to recreate this, don't worry about the questions above.
Unfortunately, there doesn't appear to be a way to custom editor windows to detect the UI Scale. However, it is possible to make these windows re-sizable by modifying a couple of lines of code.
For the New Game wizard, open up NewGameWizardWindow, and replace line 55:
with:
For the Character wizard, open up CharacterWizardWindow and replace lines 49 and 61:
with:
If you then resize the windows, are you then able to find a size that makes it workable on your machine?
I think I tried to edit my post a few times in a row to try to get the images to show instead of just a link, and that flagged the post, so my bad there.
I played with it after my post got locked a bit and had some success, though I don't know if it was luck or actually a solution. My UI scale was just at 100, but I'm running two monitors with different screen ratios. My laptop is fhd+ and my external is fhd. I had my laptop set to main and extended to the external. Dragging between monitors had the same problem on both. But when I switched to make the external display my main and started Unity that way, the wizards were fine.
To be honest, I'm new to Unity and Adventure Creator, so I don't know if that is actually the solution or if things just worked themselves out with me fumbling around enough. All's well that ends well, I suppose. Thanks again for your help!