Game Development Community

Using a TGB game with Director?

by Thea Hardy · in Torque Game Builder · 07/19/2006 (11:22 am) · 2 replies

I am new to game engines, but have used Director to do some things it's obvious game engines are great for. We are in the middle of a project of training for a client, all done in Director with some Flash games included. Had planned to do a 2D game for a part of the training that needs "hands-on" simulation for which a 2D game works perfectly. However, I need to integrate this with the Director part, and be able to send out scores as part of the overall training, via XML or something. I also need to figure out how to open to the game when that part of the training is accessed, play the game, export the scores, and then quite the game, resuming the rest of the Director-based training.

Is this possible using TGB?

Help me, Spock!

Thea Hardy
PathWorks, Inc.
Interactive multimedia development
Corvallis, Oregon

About the author

Recent Threads


#1
07/19/2006 (11:50 am)
You could have Director launch the games .exe file, when the game quits have it write out the scores to a file which Director then reads. Figuring out how to launch the .exe using Director would probably be better asked on a forum more dedicated to that program.

I don't know if Director can detect when the game has finished, but if not have a button that says 'Finished with the game' that when clicked causes Director to read the score file and move on.
#2
07/19/2006 (12:58 pm)
Thanks, Philip - I think that pretty much answers our questions - we know basically how to call another app from Director, and you have given us enough info for the rest. Will spend more time with that TGB demo and probably buy. Appreciate it very much,

Best,

Thea

Thea Hardy
PathWorks, Inc
Interactive Multimedia Development
Corvallis, Oregon