Game Development Community

screenshot

by Ron Yacketta · in Torque Game Engine · 10/30/2002 (11:16 am) · 3 replies

All,

I have been looking for a way to take an initial screenshot once the player enters the game. I have tried several functions like cliententergame, dropplayeratcamera, initialcontrolset and others. each time I call screenShot("junk.png"); I get a screen of the last loading GUI before the player is dumped into the game. Where in balzes would I stick this sucker to get an immediate screen once in game..

-Ron

#1
10/30/2002 (11:27 am)
schedule(1000 * 5, 0, "screenshot", "junk.png");

This should wait 5 secs after the client is ready and take the shot.
#2
10/30/2002 (11:38 am)
thers a function in the engine which takes screenshots? why? cant you just hit the PrtScnSysRq key (at the top of your keyboard next to ScrLK), that takes whatever is on your screen and puts the picture into ram, then just go into MS pain, edit, paste, taaaadaaaa, whatever was on your monitor when you hit that button is now a bitmap in MS paint, thats how I take screenshots, it seems a lot easier than pre timed functions in torque :)... I hope it works for you
#3
10/30/2002 (11:50 am)
well, this is for a dynamic type of overview for use in game....