Create Screenshot

Blitz3D Forums/Blitz3D Beginners Area/Create Screenshot

cermit(Posted 2003) [#1]
Does it work to make a screenshot function in blitz
it would be good to know.


DarkEagle(Posted 2003) [#2]
if keyhit(57) ;space
 savebuffer(frontbuffer(),"screenshot"+currenttime$()+".bmp")
end if



EOF(Posted 2003) [#3]
If you are running something in 'windowed mode' you can press Alt+PrintScreen to copy the window into the clipboard.


jhocking(Posted 2003) [#4]
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.


Mustang(Posted 2003) [#5]
I use this:

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

...Does nice incremental shots etc.


Tricky(Posted 2003) [#6]
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 :)