video_screen
The current video screen mode.
Range:
0 -
Don't open a video device A7.08 LC
1 - Fullscreen mode
2 - Window
mode (default)
Type:
var
Modified by:
video_switchRemarks:
-
After opening the video device, this variable can only
be changed
between Window and Fullscreen mode
through the video_switch instruction.
By default, pressing the [Alt-Enter] key toggles
the screen mode.
-
In C-Script this variable can not be set, but must be redefined. LC In
lite-C this variable can be set
in the first frame before any level_load() or
wait() call.
Example:
var video_mode = 6; // C-Script: start in 640x480 resolution
var video_screen = 1; // C-Script: start settings for Fullscreen
function main()
{
video_mode = 6; // lite-C: start in 640x480 resolution
video_screen = 1; // lite-C: start settings for Fullscreen
wait(1)
...
}
See also:
video_switch, video_mode, video_depth, screen_size
► latest
version online