FlipCanvas on a VWait
BlitzPlus Forums/BlitzPlus Beginners Area/FlipCanvas on a VWait
| ||
Having just upgraded to BlitzPlus, I'm having a problem. I want to write a game in a window that is timed in to the vertical blank. If I use the Graphics command, the window has no close or minimize buttons - and I don't want to create a game without these - which seems to force me to use a window and canvas instead. However, after converting my game, I discovered that, despite what it says in the command index, FlipCanvas doesn't wait for a VBlank when instructed to. Am I missing something? Thanks |
| ||
Dunno if it's even possible with canvas. There are API calls that migh help you on the minimize- and close buttons. |
| ||
I'm afraid I no nothing about the Windows' API, and have gone back to using Blitz 2D anyway - I only wanted B+ for the file-requesters and stuff. Much as I would prefer to use Windows' File-requesters, the other changes in B+ are too annoying - creating windows with no close or minimize buttons not being able to vwait with the only alternative. |
| ||
In fact the B+ manual on this site states that FlipCanvas defaults to VWait of true. |