Spawner Only One Time

Discussion in 'How Can I...?' started by Wapps1, Dec 27, 2016.

  1. Wapps1

    Wapps1 Avid Boxer

    Joined:
    Oct 23, 2016
    Messages:
    144
    Likes Received:
    68
    Hello,

    I have a little problem!

    In my Game i use "Health" for some characters.

    And to show the player when he lose one health, i made a heart objekt whitch is spawn from the character.
    (made this inside the image editor of "taking damage") like you see on the image.
    buildbox spaw2.png

    But the problem is, the object is only spawn one's.. when the character looses his first "Health". When the character collides the second time with a enemy and loose a "health" it doesn't spaw or show anything!

    Someone knows how I can fix this?

    Thank's
     
  2. jerry

    jerry Avid Boxer

    Joined:
    Sep 25, 2015
    Messages:
    421
    Likes Received:
    232
    Don't make the animation a spawner. Just assign an animation with a number of frames. Right now in the lower right corner you only have 1 frame. So make a 10frame animation (not a spawner) and each time your character takes damage the animation will play.
     
  3. Wapps1

    Wapps1 Avid Boxer

    Joined:
    Oct 23, 2016
    Messages:
    144
    Likes Received:
    68
    Thanks for your Answer, yes you are right!
    But when i use a object, i can let them fall down like a physic objekt and it looks very cool in the game!
     

Share This Page