Game Development Community

Recording and playing back your game.

by Tim Saunders · in Torque Game Builder · 09/17/2006 (2:17 am) · 4 replies

I would like to be able to record what happens when I play my game and play the same action back to help with debugging and for possible use in an attract mode.

Has anyone any idea how to do this? Any ideas at all would be welcome.

#1
10/07/2006 (1:24 am)
Tim, that's a great question. Search the TGB Reference for "journal". I've never used this feature, but I think it's built into the torque core.
#2
10/07/2006 (8:11 pm)
I'd like to know about this too.. it could be useful. I found this on TDN, tdn.garagegames.com/wiki/Journaling probably a great place to start.
#3
10/08/2006 (10:43 am)
As you'll read in the article, the Journal system is mainly intended for reproducing bugs for debugging purposes. In order to be viable as a proper demo recording system, one would need to produce some way of stopping the recording (as currently, it just plays the journal to the end and closes the program), and perhaps add a callback for when the recording has ended. I have the source but lack the ability to implement such a thing, but someone who knows their way around probably wouldn't have much trouble.
#4
10/14/2006 (3:37 am)
Thanks for your replies. I'll definitely try it out for debugging purposes.

I'm not really experienced enough at programming to be able to figure out how to implement the demo recording aspect though. I don't suppose that it is something that is eventually going to be put in as an official feature?