video_mode

The current video mode; determines the startup resolution of the video device in either window or fullscreen mode. A7.62 Depending on the video_aspect value, the following normal or widescreen resolutions are selected:

Range:

1 320x200 (window only)
2 320x240 (window only)
3 320x400 (window only)
4 400x300 (window only)
5 512x384 (window only)
6 640x480, 640x400, 640x352
7 800x600, 720x480, 848x480 (default)
8 1024x768, 1024x600
9 1280x1024, 1280x800, 1280x720
10 1400x1050, 1440x900
11 1600x1200, 1680x1050
12 1920x1200, 1920x1080

Type:

var

Modified by:

video_switch

Remarks (see also video_switch) :

Example (lite-C):

function main() 
{ 
  video_mode = 6; // start in 640x480, 640x400, or 640x352 resolution
  video_screen = 1; // start in fullscreen
  wait(1)
  ...
} 

See also:

video_switch, video_aspect, video_screen, screen_size, video_window, video_alpha, video_gamma

► latest version online