B+, Emulators, and ALPHA Sprites!

BlitzPlus Forums/BlitzPlus Programming/B+, Emulators, and ALPHA Sprites!

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.

[reply]
cb, what FPS do you get on your machine? Your first example runs at 10FPS on mine, the second one at 4FPS??
(P4 2.6GHz, Radeon 9700)
[/reply]

What?? If anything the second should be faster...

Using VSYNC, I get 47 fps on the first and 95 on the second. WHen I turn VSYNC off, I get over 200 on the second one.

When I do a:

repeat
    cls
    flip false
until keydown(1)


I get almost 1000 fps!

Clearly, plotting the screen pixel by pixel is much slower. Normally, you would never do this anyway. Much faster to copy rows of pixels or lines.

cb