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 / [BUG][2.0.17] setup.agc is ignored

Author
Message
Scary Little Rabbit
15
Years of Service
User Offline
Joined: 4th Aug 2009
Location: Chelyabinsk, Russian Federation.
Posted: 29th Feb 2016 17:19
setup.agc is ignored on Ubuntu 14.04. // so currently we got no way to run app in fullscreen mode since setting of fullscreen parameter to 1 in setWindowSize() is not working too.

there's screenshot in attachment.
error #1:
'too many stars, too many stares. disembody.'
WIP: MIND!! free fonts for your AGKs

Attachments

Login to view attachments
Digital Awakening
AGK Developer
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Sweden
Posted: 29th Feb 2016 17:57 Edited at: 29th Feb 2016 17:58
I haven't used setup.agc in a long time. Is it even supported anymore?

This works fine for me on Windows:
Scary Little Rabbit
15
Years of Service
User Offline
Joined: 4th Aug 2009
Location: Chelyabinsk, Russian Federation.
Posted: 29th Feb 2016 20:42
according to Paul words from November:
Paul Johnston wrote: "… the fullscreen parameter on Linux is non-functional. The GLFW library we are using does not provide an option to change fullscreen/windowed at runtime so I'll have to dig through the Linux windowing system to find a way to do it. For now you can use a setup.agc file with the fullscreen parameter set to 1 to make it fullscreen from the start."
error #1:
'too many stars, too many stares. disembody.'
WIP: MIND!! free fonts for your AGKs
Digital Awakening
AGK Developer
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Sweden
Posted: 29th Feb 2016 23:11
Ah. I think I've even read that and forgotten about it.
Paul Johnston
TGC Developer
22
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 1st Mar 2016 00:22
Fixed for the next version. Note that you cannot use GetDeviceWidth() and GetDeviceHeight() in the setup.agc file, they will be cast to integers and become 0, although in this case it doesn't matter since the fullscreen mode would ignore those values anyway.
Scary Little Rabbit
15
Years of Service
User Offline
Joined: 4th Aug 2009
Location: Chelyabinsk, Russian Federation.
Posted: 1st Mar 2016 00:52 Edited at: 1st Mar 2016 01:38
Paul Johnston wrote: "Fixed for the next version."

cool!
Paul Johnston wrote: "you cannot use GetDeviceWidth() and GetDeviceHeight() in the setup.agc, they will be cast to integers and become 0"

good to know. maybe when it's 0 current display resolution is tending to be in result anyway. I don't remember when I start to use it.
error #1:
'too many stars, too many stares. disembody.'
WIP: MIND!! free fonts for your AGKs

Login to post a reply

Server time is: 2024-11-25 09:31:19
Your offset time is: 2024-11-25 09:31:19