Adding a Screenshot feature to your game or scene


Tweet blitz3d blitzplus miscellaneous tutorials
(Posted 1 month ago) RonTek

A quick tutorial on how to have your own screenshot routine for your Blitz3D/Plus game or app.

While Not KeyHit(1)

  UpdateWorld
  RenderWorld

  Flip

;Press F1 For a screenshot
If KeyHit(59) Then 
  SaveBuffer(FrontBuffer(),"screenshot_"+ss+".bmp")
    ss=ss+1 ;File counter
EndIf

Wend

Reply To Topic (minimum 10 characters)

Please log in to reply