Mario Style

What would I have to do so that if my character is hit by a hazard/enemy, the lose health and if they get hit again, they die

Comments

  • bjandthekatzbjandthekatz Orlando, FlMember Posts: 1,375

    Create an integer attribute called Health and set it to a value of your choosing. When your actor collides with a hazard change attribute Health to Health-1. When health is 0 die.

  • Ayolabi12345Ayolabi12345 Member Posts: 30

    Thanks a lot

  • Ayolabi12345Ayolabi12345 Member Posts: 30

    One thing, how would I make the character kind of blink to alert he's been hit. And also kind of push him back??

Sign In or Register to comment.