Screenshot
Blitz3D Forums/Blitz3D Programming/Screenshot
| ||
Does it work to make a screenshot function in blitz3d? It would be good to know. |
| ||
I think the place for this topic is the Beginners forum, not the Advanced 3D one. [EDITED -thx starfox-]SaveBuffer FrontBuffer(),"file.bmp" |
| ||
SaveBuffer |
| ||
sswift made it already |
| ||
here's what I use so it doesn't overwrite existing files and numbers them sequentialy just create a subdirectory in your directory called "screenshots" ;get key for screenshots keyboard=GetKey() If keyboard=Asc("t") While FileType("./screenshots/screenshot"+(Str scount)+".bmp")=1 scount=scount+1 Wend screenshot$= "./screenshots/screenshot"+(Str scount)+".bmp" SaveBuffer(BackBuffer(),screenshot$) scount=scount+1 EndIf |
| ||
Okej, thanks i didnt know it was that easy. |