Health bar for all enemies?

For questions about using Classic.

Post » Fri May 08, 2015 10:41 pm

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!
B
8
S
3
Posts: 120
Reputation: 989

Post » Sat May 09, 2015 12:43 am

I have a sample project I will PM you a link but you have to make a separate health bar for each enemy.
Image
B
75
S
23
G
3
Posts: 673
Reputation: 9,283

Post » Sat May 09, 2015 10:02 am

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 :/
B
8
S
3
Posts: 120
Reputation: 989

Post » Sat May 09, 2015 12:06 pm

@Frap1K here's a cap that should be straight forward, but let me know if you have any questions :) https://dl.dropboxusercontent.com/u/4714446/HPBars.cap
Construct Classic - Examples Kit Dropbox is a pile of trash and if you need my old files PM me! :)
B
125
S
42
G
17
Posts: 2,230
Reputation: 19,922

Post » Sat May 09, 2015 12:51 pm

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?
B
8
S
3
Posts: 120
Reputation: 989

Post » Sat May 09, 2015 1:02 pm

@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.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
136
S
31
G
87
Posts: 5,492
Reputation: 60,270

Post » Sat May 09, 2015 1:13 pm

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!
B
8
S
3
Posts: 120
Reputation: 989


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 4 guests