Game Development Community

Can't Find Behaviours...?

by David Taylor · in Torque Game Builder · 10/11/2007 (9:54 pm) · 2 replies

I downloaded TGB 1.5.1 the other day, and last night ran it for the first time. I've added a sprite and want to add behaviours to it. According to the tutorial, I simply click on the list under 'Behaviours' in the Edit tab, and pick which one I want. But the list is empty...?

I've probably done something so simple it's stupid, but what was I supposed to do to access the list of behaviours?

#1
10/11/2007 (11:54 pm)
Nope, nothing you've done. When you installed TGB, it also installed a Behavior example. You need to find this example. It is located inside of your TGB installation directory under the 'games' directory. Look for 'BehaviorPlayground\game\behaviors'. Inside this directory are several directories containing the stock behaviors. You will need to copy/paste the 'behaviors' directory into your other project before you will see them available.

You don't need to copy all of them. You can simply copy the one's you are interested in. But I suggest to at least give a look over each one so you get an idea of what is available.

In addition to the ones installed, some more are available here.
#2
10/12/2007 (2:52 am)
Thanks for that, Steven. I'll check it out. :)