Create Screenshot

Blitz3D Forums/Blitz3D Beginners Area/Create Screenshot

Does it work to make a screenshot function in blitz
it would be good to know.

if keyhit(57) ;space
 savebuffer(frontbuffer(),"screenshot"+currenttime$()+".bmp")
end if


If you are running something in 'windowed mode' you can press Alt+PrintScreen to copy the window into the clipboard.

Using the Printscreen key isn't a "screenshot function in Blitz," what he asked for. Using SaveBuffer (as DarkEagle pointed out) is what you want.

I use this:

http://www.blitzbasic.co.nz/codearcs/codearcs.php?code=128

...Does nice incremental shots etc.

I personally use DarkEagle's method, and I even implented it in "The Fairy Tale"... I've only configured it to the "F10" key, but that's the most important diffrence :)