Help scoping multiple objects

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • Hello, I'm aware that this is a common beginner issue, but after reading a few threads and trying some of the suggestions therein I've still not been able to solve my problem, so I'll describe it in as much detail as I can.

    I'm creating a brawler, and working on a basic enemy. This enemy has several components - a shadow which handles the general movement and positioning, two actives (so far) of the enemy themselves attached to it, one to handle the movement animations and another the attacks, and an active which moves around in front of these which is it's attack sensor.

    The idea is that when this sensor overlaps the player, a brief countdown begins before the enemy attacks, it works well individually, but as you may guess, when multiples of this enemy are present, I've thus far been unable to effectively scope so as to isolate this process onto just the one which satisfies the conditions for the attack.

    I've tried things like spreading ID's, referencing the fixed value of the attack sensor and attaching it to the shadow and the actives etc, but thus far nothing seems to work? I'm aware that I might not understand these methods well enough to implement them correctly, but help would be much appreciated?

  • I've experimented with the build you sent and added a condition which roughly represents what I'm going for, in this case by making the child object change colour when it's parent overlaps a certain area of the screen, and only affecting that child in isolation, but when I'm attempting to apply this approach to my own game it's still not working, possibly due to my enemy character having a much larger number of actives forming it, 8 to be exact.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!