Game Development Community

In game Screenshots

by Yves (Kreegrr) · in Torque Game Builder · 06/22/2006 (1:17 pm) · 6 replies

Hey all!

Is there a way to create a ingame screenshot of your screen and dump it to file.png?
Also, can i create a surface, blit some images on it and save that buffer to a .png?

Trying to avoid c++
Thanks,

ps,
i'm not talking about print sreen and alt+printscreen :)

#1
06/22/2006 (1:20 pm)
Press Ctrl + P for a screenshot. It's defined in the Global Action Map which you can find in common\gamescripts\common.cs
#2
06/22/2006 (3:53 pm)
I can't have any user interaction, it needs to be done programmatically.
I'm programming a tool and need to do some simple image manipulations.
It would of been cool to have the tool as a tgb native tool..
#3
06/22/2006 (4:11 pm)
So use the existing screenshot function, and use it programmatically....
#4
06/22/2006 (4:59 pm)
Oh, i didn't know we had one.
I did a search in the help pdf before posting and didn't find anything.
Will look again, thanks for the tip!
#5
06/22/2006 (5:10 pm)
You can find it at common/gameScripts/screenshot.cs
#6
06/23/2006 (12:38 pm)
Got it, thanks!