Hey!!
I'm making a game, and I need a life bar for my game.
When the player got the question correct, they'll get 2 points.
And when the player didn't get the question, the'll lose 3 points from they're points.
How can I do that??
And I want to start the game of life with 6 first.
Can some one PLEASE HELP ME??
Offline
Add two variables, "life" and "question", then two lists, one for the questions, and the other one for the answers. But add the items to the lists in the same order.
whenclicked
setlife ▼to6setquestion ▼to1repeat untilquestion=Must be filled with the number of questions.askitemand waitquestionofquestion list ▼ifanswer=itemquestionofanswers ▼changelife points ▼by2sayCorrect!for3secsYou may remove this is you don't want it to say anything.elsechangelife points ▼by-3saySorry, wrong answer.for3secsSame as the note above.SayjoinYour final score is:life
Last edited by NoxSpooth (2013-04-22 17:29:54)
Offline