Fish Demo problem - cant get non-player fish to move
by Andrew M. · in Torque Game Builder · 02/28/2007 (4:41 pm) · 5 replies
Hi,
I've been doing the Fish Demo tutorial and all has been fine - i've gotten to "Adding Other Fish" segment of the tutorial and for some reason i cant get my NPC fish to move like it's supposed to, it just sits there.
I noticed that the tutorial is written strange in that it has you add the code for the ''Fish'', but you never actually add the class ''Fish'' in the scripting area of that sprite (like you do normally in all the other tutorials). At first i thought this might be the problem, but even when i add that name to the Class field in the Editor, nothing happens.
Any ideas what may be going wrong here?
I've been doing the Fish Demo tutorial and all has been fine - i've gotten to "Adding Other Fish" segment of the tutorial and for some reason i cant get my NPC fish to move like it's supposed to, it just sits there.
I noticed that the tutorial is written strange in that it has you add the code for the ''Fish'', but you never actually add the class ''Fish'' in the scripting area of that sprite (like you do normally in all the other tutorials). At first i thought this might be the problem, but even when i add that name to the Class field in the Editor, nothing happens.
Any ideas what may be going wrong here?
About the author
Recent Threads
#2
:\
05/01/2007 (5:11 pm)
Nevermind, i think i figured it out. The tutorial seems to be missing a section (where it should tell you to add your min and maxSpeeds to the dynamic fields. (tutorial Figure 6.1.1 to 6.1.4 which are missing):\
#3
i cant seem to figure out what im doing wrong...
05/01/2007 (5:34 pm)
Actually - now im having the problem where my enemy fish just moves to the left but doesnt seem to hit a world limit and switch position and direction like the tutorial seems to think it will. Is it just me or is the tutorial incomplete in this area?i cant seem to figure out what im doing wrong...
#4
:P
05/01/2007 (5:56 pm)
Figured it out - had to set my limit mode to Null and add callback. its too bad the tutorial isnt complete in that section. i'll leave this post for other n00bs like myself who may run into this same problem :P
#5
05/31/2007 (10:39 am)
Thanks for posting these issues you ran into... I'll look into them and try and remedy them for the next release :)
Torque Owner Andrew M.
thanks