i have Problems with the openwindowedscreen .
I have bad lags .
In the Compiler settings is opengl in use .
Otherwise the screen do not open .
Sorry fpr my bad English .
Here is the code .
Code: Select all
InitKeyboard()
InitMouse()
InitSprite()
UsePNGImageDecoder()
OpenWindow(0,0,0,800,600,"Pong Menü",#PB_Window_ScreenCentered | #PB_Window_BorderLess)
OpenWindowedScreen(WindowID(0),0,0,800,600,1,0,0)
;OpenScreen(800,600,16,"TEST")
UsePNGImageDecoder()
Enumeration
#_bild
EndEnumeration
LoadSprite(#_bild ,"mouse.PNG",#PB_Any)
Repeat
ClearScreen(RGB(0,0,0))
ExamineKeyboard()
ExamineMouse()
mx = MouseX()
my = MouseY()
DisplaySprite(#_bild,mx,my)
FlipBuffers()
Until KeyboardPushed(#PB_Key_Escape)
Greet's MacGyver


