Re: My game lags on Steam.
Posted: Sun Nov 23, 2025 5:04 pm
What if :
Code: Select all
Repeat : WaitWindowEvent(1) : ForEverhttp://www.purebasic.com
https://www.purebasic.fr/english/
Code: Select all
Repeat : WaitWindowEvent(1) : ForEverI believed in that one for some reason, but no.miso wrote: Sun Nov 23, 2025 5:04 pm What if :
Code: Select all
Repeat : WaitWindowEvent(1) : ForEver
Code: Select all
...
Repeat
; It's very important to process all the events remaining in the queue at each frame
;
Repeat
Event = WindowEvent()
Select Event
Case #PB_Event_Gadget
Case #PB_Event_CloseWindow
Break 2
EndSelect
Until Event = 0
...
Forever