Hi I was wondering is this code correct If I want my game to only load full screen
Type GfxMode
Field width,height,depth
End Type
If Windowed3D ()
Graphics3D 640, 480, 0, 1
EndIf
MouseWait
End
Full screen is created via the last number in the Graphics3D setting. It is the 'mode' - so that is what you use to denote full screen by setting it to the value of '1', which is what you have done.
Not really. There's no need to check if the Windowed3d() function returns true or not. You don't care if the videocard supports windowed mode, because you're not going to use it.
And what the heck is the type for? You've defined it and never use it.
If you want your game to load fullscreen, you only need the one line Graphics3d 640,480,0,1
So Puki do I half to put other info like graphics type like Primary driver
also is there to keep it full screen but not worry about the mouse or a certain key being pressed witch turns full screen off
is there a way to disable that
If you're talking about the ability to Alt+tab out of a fullscreen blitz app (which can cause problems), have a look at this thread:
http://www.blitzbasic.com/Community/posts.php?topic=49055