So i do the usual thing as first determine desktop-size and available screen-modes...
Now what happens? Is my pc unable to display 16Bit-depth?
Or is the function returning only modes that match the current depth?
this
Uses "console", "TBGL"
String modi = TBGL_GetFullscreenModes
String mode()
Long i
Long nModi = Parse modi, mode, ","
If nModi Then
For i = 1 To nModi
PrintL mode(i)
Next
EndIf
WaitKey
prints out:
640x480x32
720x480x32
720x576x32
800x600x32
1024x768x32
1152x864x32
1280x720x32
1280x768x32
1280x800x32
1280x960x32
1280x1024x32
1360x768x32
1366x768x32
1440x900x32
1600x900x32
1680x1050x32
1920x1080x32
Where's the catch?
+++ Petr, if you read this: the \GameConcepts\VehicleRide-example does not work any more because of new keyword Version. I don't know if this was part of an additional TBGL-Samples-Package since i have them all in the same folder, i.e. "c:\thinbasic\SampleScripts\TBGL\..." or if it's part of the with tB shipped samples.
Bookmarks