full screen

Posted By: joh

full screen - 02/16/10 15:59

how to set full screen in cscript?
Posted By: TheThinker

Re: full screen - 02/16/10 16:04

The var:
video_screen = 0 / 1 / 2 / 8

Funtion:
video_switch(...)

Please look into the manual.
Posted By: Quad

Re: full screen - 02/16/10 16:07

no 8 for video_screen, only 0,1,2
Posted By: Tempelbauer

Re: full screen - 02/16/10 16:07

Code:
video_switch (var mode,var depth,var screen)



mode - 0 for no change or number of screen resulotion (see video_mode)
depth - always 0.
screen - combination of:
0 = no change ,
1 = fullscreen,
2 = window,
...

for a more detailed description see gamestudio manual (in WED press F1)

example:
Code:
video_switch(0,0,1);


Posted By: joh

Re: full screen - 02/16/10 16:19

ok got it thank you guys. but why did my mouse didn't appear now? my mouse is set to

mouse_mode = 4;
Posted By: TheThinker

Re: full screen - 02/16/10 16:29

@quadraxas
8 for forcing 4:3 mode

@joh
you need a mouse_map for fullscreen mode.
Posted By: Quad

Re: full screen - 02/16/10 17:00

ah thanks, i did not know that. offline manual is not up to date then
© 2024 lite-C Forums