tired of trying .. problems with individual instances of the same object

0 favourites
  • 2 posts
From the Asset Store
Hand-painted tiles, objects, animated objects, and background to build a colorful Mayan civilization environment.
  • Sorry everyone, maybe it's something very obvious and I'm not realizing (hopefully so) but anyway.

    Here is my problem:

    2 generator objects creates 8 intances of an object (it is a worm)

    Each worm has the command to walk in one direction, but if it surpasses the player object.X , each worm must activate the animation "turn around" and when it finishes, the animation "walk" must be activated again and also rotate its sprite.

    I don't know why they only obey the first 2 intances (the one that comes from the left and the one that comes from the right).

    I come from using YoYo Game Maker, my knowledge is not high but it is not basic, someone could tell me which is the most appropriate way to apply to all instances and not only the first ones? .. thanks

    Tagged:

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Try the system condition 'for each' and pick the worm object.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)