[Solved] Flip Confusion
Blitz3D Forums/Blitz3D Programming/[Solved] Flip Confusion
| ||
Help please, I'm seeing different output in window and fullscreen mode. I have a menu image that will clear up once I go to main game loop, I don't see my menu when in windowed mode, but if I switch to fullscreen and do some wait timer stuff. it also shows my menu. Main Loop Menu Loop DrawMenu Game Loop StartGameDelayLoop WaitTimer Flip EndDelayLoop Flip End Game Loop End Menu Loop End Main Loop |
| ||
Try to add setbuffer(backbuffer()) before drawing anything. Function Main() Repeat ;logic ;go to the backbuffer ;draw 3d ;draw 2d ;flip to the frontbuffer Until( ProgamState = false ) end function |
| ||
Thanks RemiD, it seems I misplaced my waittimer loop but that buffer thing also helped me debug it, now fixed! |