Heh heh... flashback!
That one had me ranting away when I first got my hands on B+ and was trying to port over some olde-worlde PowerBASIC stuff as a learning exercise. The process went along the lines of:
"RANT RANT RAVE why the **** won't this work, how the **** am I sposed to do a relatively simple operation like this when I can't write directly to the buffer useless RANT RANT"
*gives up, writes to backbuffer and flips*
".... .... oh. Ok. I spose that kinda works. Really well. And potentially much tidier than the way I was trying. ...Grumble grumble..."
Oh yeah, I wanted to mention one thing about flipping to bubbz, as I found it useful: You may want to use the instruction "Flip False" instead of just "Flip". Flip waits for a vertical blank before continuing. Which is nice and smooth, but means any game you make will vary in speed with monitor refresh rate, whereas Flip False will update the buffer imediately, so will be much quicker. You can then control the game speed with as much subtlety as you want, using other means which will be consistent whatever monitor refresh is used.
|