Using Torque In Dlls
by Thomas Leonard · in Torque Game Engine · 02/04/2005 (10:00 am) · 4 replies
Hi,
I am new to TORQUE ... but not new to Game Programming. I have just bought the TORQUE. I will be looking and learning it through its documentation tomorrow.
However, there is one question I would love to get an answer of ...
- Can I use TORQUE as other game engine libraries instead of using scripts at all? If YES ... how?
Is there a tutorial or documentation available.
I mean to just compile all the TORQUE library functions in 2 or 3 dlls and then use it for creating my game using TORQUE totally as its engine. Is that possible?
Thanks!
I am new to TORQUE ... but not new to Game Programming. I have just bought the TORQUE. I will be looking and learning it through its documentation tomorrow.
However, there is one question I would love to get an answer of ...
- Can I use TORQUE as other game engine libraries instead of using scripts at all? If YES ... how?
Is there a tutorial or documentation available.
I mean to just compile all the TORQUE library functions in 2 or 3 dlls and then use it for creating my game using TORQUE totally as its engine. Is that possible?
Thanks!
#2
But there should have been something like that. Making quite easy job ... but if we use scripts ... I am sure we can compile them! I mean turn them into format in which others cannot read. Otherwise ... anyone can change the game.
Between ... I am looking forward to create a game like MMORPG. I am sure TORQUE can handle that quite easily and once I learn up things it will be quite easy then others. Just one question ...
Is there a database support or do I have to write my own?
Thanks!
02/04/2005 (10:56 am)
So you mean ... if I need additional functions ... I can add them to the code ... when I need to make a game I need to insist on the script.But there should have been something like that. Making quite easy job ... but if we use scripts ... I am sure we can compile them! I mean turn them into format in which others cannot read. Otherwise ... anyone can change the game.
Between ... I am looking forward to create a game like MMORPG. I am sure TORQUE can handle that quite easily and once I learn up things it will be quite easy then others. Just one question ...
Is there a database support or do I have to write my own?
Thanks!
#3
You should browse the Resources Section. There should be a resource for adding mysql support.
Good Look!
02/04/2005 (11:17 am)
I don't know if I undestand you corretly but Torque's *.cs scripts are compiled into *.cs.dso at runtime. So others can't read them as you said. Don't worry about that point.You should browse the Resources Section. There should be a resource for adding mysql support.
Good Look!
#4
Yes you can find or build in database support. I personally used PHP support to help TGE communicate directy with a MySQL server.
www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=5286
02/04/2005 (12:43 pm)
You can also design and test you game in scripts and then covert your functions into engine code so that it's compiled into your executable. This will simplify the design process and allow you to gain the security you are looking for.Yes you can find or build in database support. I personally used PHP support to help TGE communicate directy with a MySQL server.
www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=5286
Torque Owner Thomas \"Man of Ice\" Lund
You need to code your game _inside_ TGE. Extend the C++ code and code gameplay into scripts. Thats how its ment to be used