AI for families of creatures

Get help using Construct 2

Post » Thu Apr 25, 2013 11:58 pm

Im making this platform game where I have to guide some creatures trough a level but when nothing is close to them they stay in certain area wandering.
Since all the creatures have (in some aspect) similar behavior I created a family where -I thought- i should write every behavior they share (like wandering when nothing is close).
But Im doing something wrong because every instance of whatever creature I put in the game act exactly the same instead of wander independently.

Also every instance share the same values of limits. Since Im using instance variables to save data such as area they stay wandering, shouldnt be every instance independent?

Here is a capx where im testing the behavior. Left click to create a dino and right to destroy one
Posts: 1
Reputation: 702

Return to How do I....?

Who is online

Users browsing this forum: Google [Bot] and 21 guests