WantHills's Forum Posts

  • 2 posts
  • Thanks ultrafop.

    I am following your advice using UID. On the debug, the enemy had UID, and IID. I am not sure how they number of UID generated(ubt it does not matter if you set the UID into a veriable). However the IID, is like an array, start with 0 to how many instants.

    I understand the concept, but still little fuzzy on technical. On your example you use parameter, which is make sense, but I am not that that advance. It is possible to set enemy.UID into a global varibale, or a enemy.UIDS variable? Thanks

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi all, I am excited to learn about Construct, and start playing around with it.

    So, I created a simple game: when the game start I generate an enemy and a player

    The enemy then will start attacking the player.

    When player click on the enemy, it reduce the enemy's health.

    And when the health reduce to 0 the enemy or player die.

    That work fine.

    Then I add a random function to generate between 1 to 3 enemies. (This the problem)

    No matter how many enemies pops out on the screen, they only behave like one enemy.

    They attack the same amount of damage to the player

    When player click on one enemy, other enemies health also get hit.

    I saw few videos on youtube, and did not see any specific function on even sheet, but the enemies seem to be working independently. Please advice.

    Thank you in advance.

  • 2 posts