Rajh's Recent Forum Activity

  • Sorry I'm a bit confused with what you mean. When you say use 1 sprite with each frame being a fish. Are you talking about animation frames what does this have to do with instance variables?

    Also you say to now compare sprite against sprite then fish against fish, isnt this the same thing?

    Thanks for your help!

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Thanks for that info, I'm currently just using the free version so I have to make up my mind if I want to upgrade now. Cheers.

  • Hi, I'm trying to create a big fish eats little fish type scenario, where any instance of the fish object will chase smaller instances of themselves.

    I currently have it working where if a fish is within 100 pixels of another fish it will chase it and that works, however when I add the condition to compare an instance variable i've created called Weight. It seems to be comparing againts itself instead of the other instance of the object which doesn't give me the result i am after.

    I guess what I'm after is how do I get the each fish instance to compare it's own Weight instance variable with the variables of other fish instances within 100 pixles?

    Hope that makes sense.

Rajh's avatar

Rajh

Member since 13 Oct, 2015

None one is following Rajh yet!

Trophy Case

  • 9-Year Club
  • Email Verified

Progress

10/44
How to earn trophies