Nachockaxis's Forum Posts

  • 5 posts
  • Hi guys!

    It's my second time asking your help (I have to warn you, my english is Tarzan-like)

    Well, my problem is in a boss battle that I'm doing. In some parte of the battle, I need that the boss spawns a determined number of shots (BossFinalWeapon in the capx - image), for example, when boss is in state 3 (Estado 3 in the images), it should spawn ONLY 3 shots, then wait 1 sec and then spawn another 2 shots (and so on, in total are 15 shots, as you can see in the image). The problem is. sometimes the instructions works just fine, but in others, the boss spawns like 6 or more shots at same time, making a mess. I tried everything, using variables controlling the number of shots, using cooldown, etc... As this is a random issue (the possibilities this happening are like 60/40) I don't find the proper way to solve it, beacuse it's completely random. I don't know how to control it and neither know what is causing it. I attach the image with the events in construct 2.

    The image

    Thanks in advance, cheers!

  • Oh dude I didn't realize that a "count" exists (like in SQL xD) ... that was pretty effective... Thank you, thank you very much!!!!

  • Just in case, I tried with

    miniEnemy -> Is on screen (inverted) -> boss | set scale to 2

    this doesn't work...

    thanks!

  • Hi guys,

    Is there a way to compare all instances of an object on screen? I mean, I want to trigger an event when all the enemies of the same type (i.e. enemy "A") are destroyed.

    I'm doing a boss fight, and I want the boss do a specific thing only when all the "A" enemies are destroyed... I can't figure it out in Construct... Construct2 only allows to compare one instance of an object, not all the instances (as far as I know).

    imageshack.com/i/pcZH1BzNp

    The orange squares are the enemies.

    Please I need your help. Best regards!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi all,

    By this moment i'm just a hardworker and i try to learn this impressive tool every day after work... nothing more to say. Best regards!

  • 5 posts