Importing c++ files in torque
by Roshan Kuriyan · in Technical Issues · 06/02/2007 (1:03 am) · 2 replies
How we can we use the c++ files in torque game engine. how can we import the files. send me the procedures.
#2
tdn.garagegames.com/wiki/index.php?title=Code/How_do_I_make_a_scriptable_object%...
(note this is an older version, the current is damaged ?)
and
tdn.garagegames.com/wiki/Torque_2D/Getting_Started/C_Tutorial
Basicly: you make a copy of the source tree from 'engine' and below. You can add your own c-files
anywhere ( I put mine below "engine\game").
Include them in the visual-express file: engine\compilers\Visual...\xxx.sln
It is easy to add a scriptable object (can be tested using the console) using the methods described
in the tutorials,
Good luck !
/Thomas
06/16/2007 (3:56 pm)
I found some help in the tutorials:tdn.garagegames.com/wiki/index.php?title=Code/How_do_I_make_a_scriptable_object%...
(note this is an older version, the current is damaged ?)
and
tdn.garagegames.com/wiki/Torque_2D/Getting_Started/C_Tutorial
Basicly: you make a copy of the source tree from 'engine' and below. You can add your own c-files
anywhere ( I put mine below "engine\game").
Include them in the visual-express file: engine\compilers\Visual...\xxx.sln
It is easy to add a scriptable object (can be tested using the console) using the methods described
in the tutorials,
Good luck !
/Thomas
Associate David Montgomery-Blake
David MontgomeryBlake
EDIT
You will also have to make sure you hook it in, otherwise it will just sit in your project. Sometimes people think that adding PhysX is as simple as adding the C++ to the project and clicking compile. It is definitely not.