Kogan's Forum Posts

  • 2 posts
  • Thank you for the help. I ended up storing the UID in the flower/fruit when it spawns and that works well. (I had been storing the IID in them earlier, which wasn't working)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I have bushes that spawn up to 3 fruit each. Each position is represented by a different instance variable. When it is 0 there is no fruit, at 1 the bush spawns a flower, and at 2 that flower is destroyed and the bush spawns a fruit.

    The problem I am running in to is when the fruit is picked and I set the variable to 0, it is setting that variable to 0 on all of the bushes and not just the one that spawned the fruit.

    So the question is, "How can I change the variable on the bush that spawned the fruit that was picked without changing it on any of the others?"

  • 2 posts