hi i was just wondering if anyone knows why when i un rem the below code, and when i try the fullscreen option, my code starts playing up with carious unhandled exceptions depending on what parts of the code i have loaded.
now the game works when in '0' or windowed mode fine and '32' fullscreen to just on its own with no remmed bit, but when i try to add the option, something happens when the app recalls the graphics command...
do i have to close the old graphics(original) command somehow.......i'm stuck....
Graphics 1024,768,wind,75 SetBlend(alphaBlend ) SetMaskColor 0,0,0 AutoMidHandle 1 ' wind=1 ' ' Repeat ' Cls ' DrawText "Pick window or fullscreen.",10,10 ' DrawText "[W] indowed",10,40 ' DrawText "[F] ullscreen",10,70 ' If KeyHit(key_w) Then wind=0 ' If KeyHit(key_f) Then wind=32 ' Flip ' Until wind<>1 ' ' If wind<>0 ' Graphics 1024,768,wind,75 ' SetBlend(alphaBlend ) ' SetMaskColor 0,0,0 ' AutoMidHandle 1 ' EndIf
now the game works when in '0' or windowed mode fine and '32' fullscreen to just on its own with no remmed bit, but when i try to add the option, something happens when the app recalls the graphics command...
do i have to close the old graphics(original) command somehow.......i'm stuck....