The Daily Click ::. Forums ::. Klik Coding Help ::. Creating enemy grunts with life bars
 

Post Reply  Post Oekaki 
 

Posted By Message

tetsuya_shino



Registered
  12/08/2004
Points
  491
20th February, 2014 at 20/02/2014 21:57:48 -

Hello. I created a basic enemy grunt and an active object drawn to look like an life bar. The life back is set 0, -60
from the grunt's hotspot. How much life is displayed is based on the grunt's alt value D.

I can duplicate the grunt easy, but how do I duplicate the life bar and have it so each grunt has their own life bar?

Thanks.

Edit: I just duplicated a grunt and a life bar, so my level had two set of each. And it worked! Without adding or changing any code. I'm happy, but -why- did that work?

Edited by tetsuya_shino

 
n/a

Pan-tosser



Registered
  24/10/2008
Points
  520

Has Donated, Thank You!
20th February, 2014 at 20/02/2014 22:44:41 -

The pairing of duplicates is automatic in media fusion. Which is cool half the time. The other half of the time not so cool.

 
https://www.facebook.com/nathon.brown.7

tetsuya_shino



Registered
  12/08/2004
Points
  491
21st February, 2014 at 21/02/2014 04:10:24 -

I see, good to know. Thanks.

 
n/a
   

Post Reply



 



Advertisement

Worth A Click