Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / Fullscreen resolution ?

Author
Message
MikeMax
AGK Academic Backer
12
Years of Service
User Offline
Joined: 13th Dec 2011
Location: Paris
Posted: 6th Apr 2013 07:18
i have a 1920x1080 native resolution on windows.

Is there a way to configure setup.agc to have fullscreen=1 with a lower resolution ? (1280x1024 for example)
Zwarteziel
13
Years of Service
User Offline
Joined: 22nd Jan 2011
Location: Netherlands
Posted: 6th Apr 2013 09:15 Edited at: 6th Apr 2013 09:16
Yes, in the same setup-file, you can specify the desired resolution. However, this is all that can be done at the moment. It is not possible to start with a fullscreen resolution of 1920x1080 and then switch it during runtime. This makes writing programs for Windows a bit inflexible in my opinion and I hope TGC will change the way this works.
xCept
21
Years of Service
User Offline
Joined: 15th Dec 2002
Location:
Posted: 6th Apr 2013 10:03
When the fullscreen property is set to 1 in the setup file, the specified resolution in that file is ignored and it uses whatever resolution the user's desktop is currently set to. There is currently no way in Tier 1 to get around this. If you use SetVirtualResolution(x,y) you can mimic a lower or higher resolution to an extent (e.g., if you set the virtual resolution to 1366x768 and run it fullscreen 1920x1080, it will stretch the graphics just as it would if using a lower resolution.
MikeMax
AGK Academic Backer
12
Years of Service
User Offline
Joined: 13th Dec 2011
Location: Paris
Posted: 6th Apr 2013 17:55 Edited at: 6th Apr 2013 17:55
Quote: "When the fullscreen property is set to 1 in the setup file, the specified resolution in that file is ignored and it uses whatever resolution the user's desktop is currently set to. There is currently no way in Tier 1 to get around this. If you use SetVirtualResolution(x,y) you can mimic a lower or higher resolution to an extent (e.g., if you set the virtual resolution to 1366x768 and run it fullscreen 1920x1080, it will stretch the graphics just as it would if using a lower resolution."


Exactly. But in 3D, no workaround for the moment ...it uses the native desktop/phone/tablet resolution ....

i will wait
Zwarteziel
13
Years of Service
User Offline
Joined: 22nd Jan 2011
Location: Netherlands
Posted: 9th Apr 2013 19:33
Quote: "When the fullscreen property is set to 1 in the setup file, the specified resolution in that file is ignored and it uses whatever resolution the user's desktop is currently set to. "


Oi, that's... even worse than I thought. I really *do* hope this is changed.

Login to post a reply

Server time is: 2024-05-04 17:35:57
Your offset time is: 2024-05-04 17:35:57