Start.bb

Blitz3D Forums/Blitz3D Programming/Start.bb

seferey(Posted 2005) [#1]
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


puki(Posted 2005) [#2]
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.


Gabriel(Posted 2005) [#3]
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


seferey(Posted 2005) [#4]
So Puki do I half to put other info like graphics type like Primary driver


seferey(Posted 2005) [#5]
thanks sybixsus and puki


seferey(Posted 2005) [#6]
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


big10p(Posted 2005) [#7]
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