Screenshot Mayhem

Blitz3D Forums/Blitz3D Programming/Screenshot Mayhem

Cousin Gilgamesh(Posted 2004) [#1]
I need help. When I press the print screen button while my game is running, it doesn't create a screenshot. when I am out of my game, it works though. What's going on? could it possibly be that My program is using up the entire system loop and doesn't check up on the main system while it's running? hmmm....... someone explain please.


Bot Builder(Posted 2004) [#2]
Not sure, but you could try putting
If KeyDown(59) Then SaveBuffer(FrontBuffer(),"screen shot.bmp")

In your main loop after flip. then press F1 to create a 'screen shot.bmp" file.


Mustang(Posted 2004) [#3]
I use this:

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


Kanati(Posted 2004) [#4]
"Print Screen" screen caps don't work in DirectX. They are for GDI apps only.


koekjesbaby(Posted 2004) [#5]
print screen works fine here, but i wouldn't rely on it.