Hey everyone…
I have found, that taking Screenshots from a bge render is possible with
bge.render.makeScreenshot(filename)
My question… Is it possible to save an image with a transparent background?
EDIT
I have found this function:
bge.render.setBackgroundColor(rgba)
But unfortunately it doesn’t matter if I set alpha to 0. When saving the image with makeScreenshot the background still has no alpha
I do not know if that is possible, but you can set a background color that is unique in the picture. Later you can make this color transparent (with Gimp for example).