'Flip 1' vs 'Flip -1'

BlitzMax Forums/BlitzMax Beginners Area/'Flip 1' vs 'Flip -1'

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Flip 1 means hardware sync (if available) and is my preference. Flip -1 means software timing, so if you set your game graphics Hz to be 60 then the BMax times the flips to be in time with that, which will be regular but may not look as lush as a pure Vysnc (although it looks fine on my PC as if it is VSyncing...perhaps it is). If Flip 1 can't Vync I believe it uses the same method as Flip -1 (according to Mark). OK I think that's it, but I'm willing to be corrected.

One more thing, in windowed mode Flip 1 will give a nice display but Flip-1 will not, it will show tearing but be in time.

Of course Flip 0 means no VSync AND no timing so is only good if a) you want to test max framerate or b) you have your own timing code in place, and don't mind vertical tearing.

Hope this hasn't confused you more.