Game Development Community

Behaviors iTGB

by Hugo Munoz · in iTorque 2D · 04/04/2011 (6:56 pm) · 1 replies

Hi guys, 3 quick questions

1) Does anybody know if its possible to use behaviors on iTGB 1.4.1 (latest)?

2) What are the steps to enable behaviors on iTGB

3) What is the best choice performance-wise Behaviors or Plain scripts ?


Thanks in advance



#1
04/04/2011 (9:04 pm)
1. Yes

2. You are shown how in the Rainy Day Tutorial and in the FAQ

3. Your best performance will come from creating code in C++. If you look in the engine code, there are examples of behaviors written in C++. As for behaviors vs scripts, it really depends on what callbacks you are using and what your code looks like.