Game Development Community

Empty Behaviors list

by Ivan Yeh · in iTorque 2D · 03/21/2011 (4:05 pm) · 5 replies

I am following Torque 2D Behavior tutorial , but I am using the fish tank demo instead. I copied the behavior folder from tutorial to my project, reloaded my project but dropdown menu in Behaviors section is empty. What am I missing?

#1
03/21/2011 (4:30 pm)
Behaviors need to go in the game/scripts/behaviors directory of a project in iTorque 2D. The existing behavior tutorial is from T2D and I don't believe that is noted in it.
#2
03/21/2011 (4:43 pm)
Thanks. That worked. I read Rainy Day tutorial on iT2D documentation, and it mentioned saving behavior files to /game/behaviors. It would be a tough one to figure out following tutorial alone.

Are these behaviors from T2D compatible with iT2D?
#3
03/21/2011 (4:57 pm)
They should be, I can't think of any off the top of my head that wouldn't be compatible. Behaviors that deal with input might have some issues, but other than that they should all work.
#4
03/21/2011 (5:14 pm)
@Ivan - A new Rainy Day tutorial is being uploaded, which contains the updated information.
#5
04/07/2011 (7:52 am)
I tried the updated information and I´m still having empty behavior dropdown, I tried:
1) game/scripts/behaviors/keyBehaviors.cs
2) game/behaviors/keyBehaviors.cs

The Rainy Day demo works fine so it is a problem with my new project.
Yes I reloaded the project each time and close it and reopened too