How do spawn enemy array

  • it is possible to insert the enemies in an array and then recall a tot for each type ??? from what I read on the array you could do .. but how do you do it practically ??? do you have any examples step by step? I have difficulties because already immediately .. the array not only accepts the enemy .. but they want the enemy.????? what would go after that point ??

    please help

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You didn't give any information about what you're trying to do so I will have to throw some suggestions out there. EnemyA.count is the total number of EnemyA. You can set this to a global variable.

  • You didn't give any information about what you're trying to do so I will have to throw some suggestions out there. EnemyA.count is the total number of EnemyA. You can set this to a global variable.

    sorry

    i want make various array "2 or 3" put inside in every array 5 or 7 enemy...

    and want make a spawn point in every level... in every level i choose array whit enemy i want...

    but a problem is... what i put after dot "."????

    when i try to put enemy in array... he ask me something after a dot "."

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