Hi,
I have the following source code which builds & runs OK, but all I get is the white background and no FPS text?
How would I fix it to see black FPS text above white background?
Thanks in advance!
Jesse
SetErrorMode(2)
SetWindowTitle( "AppGameKit Test-01" )
SetWindowSize( 1024, 768, 0 )
SetWindowAllowResize( 1 )
SetVirtualResolution( 1024, 768 )
SetOrientationAllowed( 1, 1, 1, 1 )
SetSyncRate( 30, 0 )
SetScissor( 0,0,0,0 )
UseNewDefaultFonts( 1 )
CreateText( 999, " " )
SetTextSize(999,25)
SetTextColor(999,0,0,0,255)
SetTextAlignment(999,1)
SetTextPosition(999,1024/2,768/2)
SetTextDepth(999,0)
// Should display white background with black Frames Per Second number in center?
do
DrawBox( 0, 0, 1024, 768, MakeColor(255, 255, 255), MakeColor(255, 255, 255), MakeColor(255, 255, 255), MakeColor(255, 255, 255), 1 )
SetTextString(999, str(ScreenFPS()))
Sync()
loop
// All it displays is white background?
// Is FPS text under the white background?