I added the:
video_switch(8,32,1); //1024x768 in fullscreen mode.
to my function main. And now I can view it in full screen.
But why does it not "take" the information I added in the top of my script? I dont have any other "information or commands that changes or sets the size,mode and depth of the screen". Tried to run several other games that I havent made that was supposed to be run in full screen. But they also came up as mentioned above.
The version I have right now is named:
6.50 commersial. Didnt have this kind of trouble in 6.40.....
Thanks for the suggestion , it worked.
So now when I use video_switch(8,32,1); //1024x768 in fullscreen mode.
..... dont I need to spesify :
var video_mode = 8; // 1024 x 768var video_depth = 32; // 32 bit mode var video_screen = 1; // Fullscreenn
in the top of my script anymore?
or do I need to do this and have the
video_switch in the main function?