Frap1K's Forum Posts

  • Thank you Jayjay I understood it! It helped me a lot!

    Okey so I did what you told me:

    When Health is less then < 1 then animation play...

    1.) When the bullet colliding with 2 of them the healthbar doesn't seem to know what to do? IMAGE - 1

    2.)But the death animation keep repeating over again. The repeat animation is set to 1 so once why does it do that then? do you have any idea? IMAGE - 2

    I don't know how to thank you, you helped me so much on this...

  • Jayjay Thank you so much for explaining to me this mess! Will try to make it now, but I guess ill get stuck on the 41 as Im unsure what this means :

    (zombieBodyBox.Health / zombieBodyBox.MaxHealth) * zombie_Health.MaxWidth

    It devides the full health from health ? and times it by it's width ? If you have time could you explain this to me ?

    Thank you for your attention!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Fireche & Jayjay Thanks a a lot for helping I don't know what I would do with out you!

    I made 2 sprites on the zombie - 1 is Head, 2 is body.

    • When the bullet collides with the Body subtract 20 from health.
    • When the bullet collides with the Head kill instantly.

    But the clone ( copied zombie ) still dies if i kill one of them .... Please help

    here is the image of the event sheet... Direct Link - upload.ee/image/4715414/testing.png

    Thank you for any future help! It really helps me!

  • Jayjay Trying this now thank you for replying!

  • Fireche But that works with every tick >> spawn object? Is it the same as if I just place them on the map/overlay? like it's shown above on the image?

  • Fireche

    Is this correct?

    And how/where do I put value of the enemies UID?

  • Fireche how do I set an UID to the enemies?

  • 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!

  • 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!

  • 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?

  • 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 :/

  • 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!

  • In newtab Image link - upload.ee/image/4713560/test.png

    LittleStain So this image shows how I created zombies Hit Boxe's! But my current issue is creating health for several or more zombies, as you can see in the image there is a health bar on top of the zombie, is there a to do the health for each zombie?

    Also is there an easier way of creating several enemies for example: ID's? so add to each zombie their own id?

    And the main problem is that when those HITBOXES collide they connect/attach together? is there a way to fix that?

    Thanks for future help! It really helps a lot to me, Thank you!

  • LittleStain yes i know how events work

  • Hey LittleStain If you have time could you explain how I need to do it? because I have been trying for long time now no idea at all .. sorry for too many questions!

    What do you mean by picking the zombie.

    And how do I referenced in the event/conditions. ?