Adding new behaviors
by Thomas MacFarlane · in TGB Platformer Kit · 04/20/2008 (1:59 pm) · 3 replies
I am fairly new to TGB and i love your tutorial but i am having a few problems.
1) how do i had new behaviors to the platform game type?
i have tried moving files into the behavior folders but TGB does not recognize them. Do i have to modify a file to load the behavoirs??
2) and also how do i mount the camera to the player?
i did read the other post on this but i could use just a bit more clarification
Thanks alot
1) how do i had new behaviors to the platform game type?
i have tried moving files into the behavior folders but TGB does not recognize them. Do i have to modify a file to load the behavoirs??
2) and also how do i mount the camera to the player?
i did read the other post on this but i could use just a bit more clarification
Thanks alot
#2
I have restarted TGB to try to load the behaviors but they still dont show up.
My behavior is called dealsDamage.cs and i have saved it to:
~/TorqueGameBuilder/games/SushiSamurai/game/behaviors
SushiSamurai is the title of the project i have created with the platformer template
do I have to "tell" torque to load my new behavior?
edit: or do i have to tell my behavior to load on the platformer template?
04/20/2008 (8:00 pm)
This is Thomas MacFarlane (just on a team members user name).I have restarted TGB to try to load the behaviors but they still dont show up.
My behavior is called dealsDamage.cs and i have saved it to:
~/TorqueGameBuilder/games/SushiSamurai/game/behaviors
SushiSamurai is the title of the project i have created with the platformer template
do I have to "tell" torque to load my new behavior?
edit: or do i have to tell my behavior to load on the platformer template?
#3
04/20/2008 (11:23 pm)
Nvm i got it to work
Torque 3D Owner jydog
ExcellANT Adventures
As for 1) I have to make sure I shut down and restart TGB and I save the files in the proper folder. Torsion seams to like to use my last used folder and not read my mind and use the one I WANT it to use.