Animate Life bar / Health Bar Please Help! :) May 01, 2018 By pasa pasa Dear Friends, i need a health bar like a super mario for the quiz course... how can I do that? when the user chooses the wrong answer the health will decrease hero x(figure the health with heart image)3-2-1
Trevor Peglowski over 5 years ago05/01/18 at 6:49 pm (UTC) I would have a variable called 'incorrect answers', starting at 1, going up each time the user is wrong. Then, make 3 heart icons with two states, one full, one empty. Create three triggers that say something like 'change state of icon1 to empty when timeline starts if incorrectanswers is greater than 1. You can also view this sample.
pasa pasa Author Trevor Peglowski over 5 years ago05/01/18 at 8:30 pm (UTC) you're a hero!!! thank you Trevor!!
2 Replies
I would have a variable called 'incorrect answers', starting at 1, going up each time the user is wrong.
Then, make 3 heart icons with two states, one full, one empty.
Create three triggers that say something like 'change state of icon1 to empty when timeline starts if incorrectanswers is greater than 1.
You can also view this sample.
you're a hero!!! thank you Trevor!!
This discussion is closed. You can start a new discussion or contact Articulate Support.