noemen Posted December 21, 2019 Share Posted December 21, 2019 I realized that Torqur3D (and other games) use different resolutions on each type of computer (or monitor), that is, it sees which resolutions are really that type of pc. Knowing this, is it possible for me to use set that will only be possible for me to configure (there in the options GUI) from 800x600 resolution onwards? Because my game (GUI size) looks better with a minimum resolution of 800x600. Quote Link to comment Share on other sites More sharing options...
Bloodknight Posted December 21, 2019 Share Posted December 21, 2019 The engine itself pulls the list of resolution options from the hardware, depending on which version of the engine you are playing with this is changed only when you select fullscreen or windows.this data is pushed into an array somewhere, and you can either 1) modify that array in the script by writing some form of a parser to pull out selected values, or to write a completely new array of available options. The first option would be best but be more work clearly.my question is about whether this is about size and scaling or aspect ratio, forcing either on users is not likely to be well received. Quote Link to comment Share on other sites More sharing options...
noemen Posted December 22, 2019 Author Share Posted December 22, 2019 The engine itself pulls the list of resolution options from the hardware, depending on which version of the engine you are playing with this is changed only when you select fullscreen or windows.this data is pushed into an array somewhere, and you can either 1) modify that array in the script by writing some form of a parser to pull out selected values, or to write a completely new array of available options. The first option would be best but be more work clearly.my question is about whether this is about size and scaling or aspect ratio, forcing either on users is not likely to be well received. I don't understand that much about it. I'm taking a look ... But I realized that for aesthetic reasons, the lowest serious resolution 800x600; because the GUI is more visible when you start it at 800x600 resolution. Quote Link to comment Share on other sites More sharing options...
noemen Posted December 22, 2019 Author Share Posted December 22, 2019 The Options GUI is in the size of 800x460 if I change the screen resolution below that, the GUI is not in the correct aspect ratio. I also realized that I can't adapt these GUI to lower resolutions (like on web pages, where if the browser changes resolution, the page adapts by changing the size of each item to a predefined location and size). Quote Link to comment Share on other sites More sharing options...
Bloodknight Posted December 22, 2019 Share Posted December 22, 2019 I'm having a hard time understanding why this is a particular issue, given that we are operating in PC space, and anything under 800x600 is not likely to be used ever, in fact arguably anything below 1024x768 is unlikely to be found. Unless you have users who are deliberately resizing their game down to below 800x600 i'd question if this is even a real issue to be concerned over, and then i'd ask why they are doing it in the first place. just put 800x600 as the minimum resolution in the requirementsHowever, you need to dig into the details of the game UI building tutorials, you will find that you can anchor UI parts to the corners, there used to be scaling options in TGE but honestly, I've not looked for those in ages, whether they are still there I don't know. Quote Link to comment Share on other sites More sharing options...
noemen Posted December 23, 2019 Author Share Posted December 23, 2019 I agree with you, but there are those people who don't have a good PC and having a resolution that can improve most of the performance is always good. I say that because I already had a bad PC and suffered a lot when I could not improve the performance of some games. And I think the 800x600 resolution delivers a reasonable look and great performance ... I managed to set the resolution 800x600 as minimum. I made a script that read the possible video dimensions and only shows in resolution options from 800x600 onwards. Quote Link to comment Share on other sites More sharing options...
Duion Posted December 23, 2019 Share Posted December 23, 2019 Ah seems you already figured it out, but I wanted to say that it should be easy to set what resolutions can be used.You can hide the other resolutions in the options menu, but it will be still possible to set them manually through console commands.Another nice solution could be to lock the GUI so it cannot be sized smaller than 800x600.However what I did was to optimize my game so that it works with any resolution, though I have to say 640x480 is really small and you have to move around the Windows a bit to get all the buttons, but I don't actually bother to remove the 640x480 resolution, people must decide for themselves what they want. Quote Link to comment Share on other sites More sharing options...
noemen Posted December 25, 2019 Author Share Posted December 25, 2019 You're right too. It's nice to leave the option to change to any resolution as a developer option. But I realized that it is possible to set the GUI to any resolution ... Just create a script that if you are at an X or Y resolution, the GUI will move or expand to a certain place (that's a lot of work, but the end result is what is worth). Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.