Screenshots

BlitzPlus Forums/BlitzPlus Programming/Screenshots

SetBuffer DesktopBuffer()
Global imagebackground=CreateImage( 773,600 )
;Grab the desktop from where the window will appear (middle)
GrabImage imagebackground,GraphicsWidth()/2-386,GraphicsHeight()/2-300


I got that code to work, but I need a way to update it. If I add a section similar to that to my loop it crashes or never follows the flip or cls. I would apprecitate help if anyone has ideas. Thanks