How to take "ingame" screenshot, and how to change the camera FOV?

Hello :).

I’m testing BGE a little, and i want to know how it’s possible to take a screenshot (dump screen) in game, also, i want to know how to change the FOV of a camera.

Thank you.


Saves a screenshot to the filename.

Type: string


The image format (jpeg or png or bmp etc) the screenshot is saved as is set in Scene(F10). ie Buttons Window Menu >> Panels Scene(F10) >> Format Tab

Sample Code

# import Rasterizer

import Rasterizer

# save screenshot