Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Glenjamin on Sat 21/02/2015 22:01:11

Title: Toggle fullscreen mid game?
Post by: Glenjamin on Sat 21/02/2015 22:01:11
Is there any way to make a fullscreen toggle during gameplay?
Title: Re: Toggle fullscreen mid game?
Post by: Crimson Wizard on Sat 21/02/2015 22:19:11
No.
Title: Re: Toggle fullscreen mid game?
Post by: HAL on Wed 25/02/2015 12:30:20
Is there definitely not?

Surely it must be possible to somehow tell your computer to scale it back down and stick it in a window.

Hell, I just tested 'Alt+Tab' on my game with the intention of right-clicking on the program's  taskbar tab to see if there were any 'window size' options, and instead everything completely screwed up, the screen was crushed to half-width and the 16-bits of colour were reduced to about 4!

It looked pretty cool so here's a screenshot.

My main point is that the video settings were altered in-game, albeit by accident. So maybe it's possible to do it on purpose?

Feel free to shoot down my optimism, but hey a straight 'no' is a fairly sparse answer to be going from!

(http://i61.tinypic.com/2gtp4li.jpg)

Title: Re: Toggle fullscreen mid game?
Post by: Crimson Wizard on Wed 25/02/2015 12:32:59
Quote
My main point is that the video settings were altered in-game, albeit by accident. So maybe it's possible to do it on purpose?
Of course it is possible to do on purpose. This feature is just not implemented into AGS yet. Hence my answer is - "no".

It might be in a time though, so there indeed is a reason for optimism.
Title: Re: Toggle fullscreen mid game?
Post by: HAL on Wed 25/02/2015 12:45:10
Quote from: Crimson Wizard on Wed 25/02/2015 12:32:59
This feature is just not implemented into AGS yet.

Ahh right ok, that makes sense.

Is it possible to use the AGS script editor to design your own full-screen toggle from scratch?

Sorry if that's a dumb question. I'm still pretty new to the software so I just see as a C++ style platform with a fairly vast scope of potential. I don't really know what limitations there may or may not be.
Title: Re: Toggle fullscreen mid game?
Post by: Crimson Wizard on Wed 25/02/2015 12:49:34
Quote from: HAL on Wed 25/02/2015 12:45:10
Is it possible to use the AGS script editor to design your own full-screen toggle from scratch?
No, the script is just commands to the engine. If engine can't do something, you won't make it do that using script, no matter how hard you try.
When this feature will be implemented in the engine, certain functions may be available in the script for changing display resolution and switching between fullscreen and windowed modes.
Title: Re: Toggle fullscreen mid game?
Post by: HAL on Wed 25/02/2015 13:02:04
Quote from: Crimson Wizard on Wed 25/02/2015 12:49:34

No, the script is just commands to the engine.

Ahhh ok. Right I get it. Thanks :smiley: