Today I received the PureGDK 2.0 upgrade and I would like to play
a little.
I would like to learn how open one fullscreen with desktop stretched window resolution for 640x480 and one fullscreen without window.
This was the purebasic clasic way.
For fullscreen stretched window resolution:
If OpenWindow(0, 0, 0, 640, 480, "My game", #PB_Window_BorderLess | #PB_Window_Maximize | #PB_Window_ScreenCentered)
SetFrameRate(280)
SetWindowColor(0, RGB(0, 0, 0))
If OpenWindowedScreen(WindowID(0), 0, 0, 640, 480, 1, 0, 0,#PB_Screen_WaitSynchronization)
Else
MessageRequester("Error", "Can't open windowed screen!", 0)
End
EndIf
EndIf
And this was for fullscreen resolution without window.
OpenScreen(640,480,32,"My game", #PB_Screen_SmartSynchronization ,75)
How do I make it with PureGDK way?
Thank you.