Game Development Community

Behaviors not responding..

by Parker Strode · in iTorque 2D · 04/26/2010 (8:52 pm) · 2 replies

Hey all, I recently purchased iTGB this past week and am stuck on something that seems pretty basic. I cant seem to get behaviors to respond in Xcode. It builds just fine and I can build the simple demo onto my iPhone with no problems what so ever. After doing the basic 'touch tutorial' I can run it just fine in TGB, however when I build in Xcode everything is there it just doesn't respond to any touch. The specific behaviors are faceObject.cs and mouseDraggable.cs. It would be great if anybody could shine some light on this or point me in a direction. I have read a ton of forum posts and documents but cant seem to find a solution to this (at least one that I can understand)..

About the author

Recent graduate from the Savannah College of Art and Design, with a focus on Motion Media. A quick learner with a strong ambition on scripting and design.

Recent Threads


#1
04/27/2010 (4:10 pm)
I'm having the same problem Parker...I'll keep trying and update you if I can.
#2
06/23/2010 (10:11 pm)
I've got same problem, so try to manual execute behaviors like this on "game/main.cs"

exec("./scripts/behaviors/input/followMouseEx.cs");

It works. I think iTGB just not auto execute files in Behaviors' folder