Health bar for all enemies?

This forum is currently in read-only mode.
  • Hello guys I know there are already many tutorials/discussions on how to create a health bar for all enemies on the layout but when I read them I still don't understand... If you have time could you explain step by step & with images if possible?

    The help i need with is:

    Currently I have enemy on the layout from the start of the game but how to make for each enemy it's own healthbar so if I shoot 1 of the enemy it will only subtract health from 1 enemy not all of them. and if one dies play death animation only on the enemy that has < less then 1 Health.

    Thank you very much for any help! Much appreciated!

  • I have a sample project I will PM you a link but you have to make a separate health bar for each enemy.

  • The enemy healthbar is broken in that project or it is invisible i guess. It's my first time creating a health bar for each enemy that is on the layout I have no experience TheDom that's why I asked for a step by step help no offence :/

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Frap1K here's a cap that should be straight forward, but let me know if you have any questions <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile"> https://dl.dropboxusercontent.com/u/4714446/HPBars.cap

  • Thanks for replying Jayjay ! But I'm not sure how to open it? Do i need to download something like XML? or do I place it some how in C2? if yes what do I do?

  • Frap1K

    You have posted in the Construct Classic section, so obviously all responses rely on that fact. The file Jayjay has provided is for Construct Classic.

    You should have posted in the relevant C2 section.

  • Oh ... sorry guys! Anyways thanks Jayjay maybe this will be useful for someone else!

    It seems I accidentally posted it in Construct Classic section, thanks zenox98 for notifying me!

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