Dark Bit Factory & Gravity
PROGRAMMING => Freebasic => Topic started by: Clyde on May 18, 2006
-
Does anyone know how or what colour bit depth and refresh rate TinyPtc uses?
This what I use to start up a graphics screen under tinyptc. And wondered how, it sets the res and refresh.
If( ptc_open( "Lens", XRES, YRES ) = 0 ) Then
End -1
End iF
Cheers and many thanks,
Clyde.
-
Hi clyde, the res is whatever you set it to with xres,yres. the bit depth is automatic to whatever the graphics card can handle and is dealt with when it copies your 32 bit buffer to the graphics card so you don't need to worry about that. As for framerate, i'm not sure.
-
Cool, cheers Stoney dude :)
Im guessing, the refresh is worked in a similar manner to the bit rate, all taken from the gfx card.
Thanks man,
Clyde.
-
It seems to zip along at whatever frame rate it can.
I've had 400fps with some programs.
-
Im not entirely sure, if the headers and includes are proper FB useage, and just temporary hacks.
I've got a new effect that wants to do its own thang. GFXLib is a bit more stable. But, at the mo im having fun with MR Tiny's antics.