I�m 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 I�m 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 I�m using instance variables to save data such as area they stay wandering, shouldn�t be every instance independent?
Here is a capx where i�m testing the behavior. Left click to create a dino and right to destroy one