Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
My nonitor its 1360 x 768 (widescreen) I dont want to play the game in this res because its lag i want to play the game in 800 x 600 or at least 1024 x 768 but in Fullscreen and not to takened my desktop fullscreen. The issues: Every ui and 2d overlay its not fit correct or its streched across the screen as fullscreen except if select widescreen option and not auto res in camera. Is there any solution to fit in smaller res without stretching everything? Also my 2d overlay as image its not fit, my image its 1360 x 768 but i want to fit in smaller res automatic. Vegan Pete that question its for you or just in case. I cannot publish my game, i waiting this final inputs Please help. |
||||
|
Also there is a possible to select what res for the game with script outside to select by the user? Its really important because some users had bigger res i dont know if my game its fit correct in bigger res. With some script to control the res of the game outside for my Main menu options? |
||||
|
Is there any posibility to help me anyone???? How much i must wait? |
||||
|
I believe, the best way to resolve this is to create multiple overlays for the most popular resolutions. You can google statistics on the most popular game resolutions now, and make a gui for every resolution in the list. On runtime you can get the resolution using api calls: ccbGetScreenWidth And then hide/remove all guis except the one which fits that resolution. The other way is to publish your game for fixed resolution, so it's the same for every user. Or you can limit the resolution options by coding a customer launcher that starts your game using command line properties, and once again create gui for every resolution from the list. Check command line arguments here:https://www.ambiera.com/coppercu... |
||||
|
Good suggestion - to more-easily facilitate the idea of hiding the UI elements which are tailored for different resolutions, I'd say have them all contained in separate folders (one for each resolution you want to support - because CC is now 64-bit only, it's pretty safe to support 1280x1024 or even 1366x768 at a minimum and not worry about anything lower). Then when the scene starts, outright DELETE the unneeded folders after checking the width and height, as mentioned above. |
||||
|
Thank you very much so i play around with specific res...but still i dont know why the Fullscreen option its stretching the whole game screen. If any had no widescreen support in his monitor, the game will be correct in his monitor? |
||||
|
I believe, there is aspect ratio camera node setting. If it's set to auto it will change from 4:3 in windowed 800x600 to 16:9 with fullscreen 1360x768. It should not stretch the image though, just widen a viewport. |
||||
|
Hi AD, I'm not using the forum much any more, sorry if you felt ignored. I'm downloading coppercube again today and hope to get back into it again soon. All the best, hope your issue is resolved. |
||||
|
Vegan Pete no prob do you have a youtube channel or email, something to contact with you, i need your help in few things urgent. |
||||
|
deleted all my channels but you can contact me on discord....https://discord.gg/8AgYh5pn |
|