View Issue Details
ID | Project | Category | Date Submitted | Last Update | |
---|---|---|---|---|---|
0001053 | AI War 1 / Classic | GUI | Nov 3, 2010 9:42 pm | Jan 3, 2011 11:45 am | |
Reporter | Andrew Savinykh | Assigned To | Chris_McElligottPark | ||
Status | closed | Resolution | not fixable | ||
Product Version | 4.024 | ||||
Summary | 0001053: In windowed mode if the window is minimized before initialization finishes ui scaled wrongly | ||||
Description | I'm running the game in the windowed mode. One thing that I noticed that was mildly annoying, is that the game starts with main window of one size and then gets resized to the right size specified in preferences. This looks a bit unsightly not a bug in it's own. However the following is. Steps to reproduce: - make sure that the game is set up to run in windowed mode - start the game and as soon as window appears click the standard "minimize" button - wait for initialization to finish - restore the window Expected result: Normal starting game screen as if windows was never minimized. The window is of the size specified in the settings. Actual result: The window is of a wrong size. It's of the same size it was started with and is not resized as per the settings. The graphics in the window is scaled inappropriately, so that fonts are almost impossible to read and pictures don't look good either. | ||||
Tags | distortion, lobby | ||||
Internal Weight | |||||
|
|
|
Unfortunately, that's a unity bug that we don't have any control over. :/ As for the starting-one-size-and-then-resizing thing, that's because Unity has a compiled-in default, and then our code takes over and tells unity what to size to based on your preferences, etc. So unfortunately that's also unavoidable. The hazards of using someone else's engine... though there are many other benefits... |
|
Can you elaborate on this a bit? ( I don't mind technical ) I've seen other games on unity 3D that don't have to resize on start, they are the right (configured) size from launch. |
|
Other unity 3D games use the unity 3d size configuration tool, which lets you select the size the game will be before it starts (but not during, or on the fly). We think that configuration tool looks horrible and isn't all that functional either (since it's only on start), so we use in-game calls to SetResolution manually. Thus on start it opens to a general default window (which is important because if it started fullscreen and the player really wanted windowed, that's really a jarring thing for a minute), and then our stuff kicks in. |
|
|
|
Thank you for the explanation. I just uploaded another screenshot AIBug01.png. I'm getting this window sometimes when I start AI Wars. This maybe related to the discussion above. |
|
By the way: that window comes up when you hold down Shift while starting the game. I'll have that turned off in the future versions, though. Thanks! |
|
Interesting. Thank you. |
Date Modified | Username | Field | Change |
---|---|---|---|
Nov 3, 2010 9:42 pm | Andrew Savinykh | New Issue | |
Nov 3, 2010 9:42 pm | Andrew Savinykh | File Added: AIBug00.png | |
Nov 3, 2010 9:43 pm | Andrew Savinykh | Tag Attached: distortion | |
Nov 3, 2010 9:43 pm | Andrew Savinykh | Tag Attached: lobby | |
Nov 3, 2010 9:45 pm | Chris_McElligottPark | Note Added: 0002652 | |
Nov 3, 2010 9:45 pm | Chris_McElligottPark | Status | new => resolved |
Nov 3, 2010 9:45 pm | Chris_McElligottPark | Resolution | open => not fixable |
Nov 3, 2010 9:45 pm | Chris_McElligottPark | Assigned To | => Chris_McElligottPark |
Nov 4, 2010 12:12 am | Andrew Savinykh | Note Added: 0002665 | |
Nov 4, 2010 12:15 am | Chris_McElligottPark | Note Added: 0002666 | |
Nov 14, 2010 6:34 am | Andrew Savinykh | File Added: AIBug01.png | |
Nov 14, 2010 6:36 am | Andrew Savinykh | Note Added: 0003429 | |
Dec 3, 2010 9:42 am | Chris_McElligottPark | Note Added: 0005033 | |
Dec 3, 2010 2:33 pm | Andrew Savinykh | Note Added: 0005058 | |
Jan 3, 2011 11:45 am | Chris_McElligottPark | Status | resolved => closed |
Apr 14, 2014 9:28 am | Chris_McElligottPark | Category | Bug - UI => GUI |