How to Change Character Expressions
Mar 23, 2021
By
Shira jose
Here's my situation: I want to create a game based quiz having 5 question. Want to use avatar or character in my quiz with different expression. I want to change the character expression keep changing depending on the right and wrong answer, suppose If i select a right answer of Q1 and submit than in the next question2 my character should be more pleased and on Q3 more smiley and keep changing the expression depend on the right and wrong answer selection.
I know it can be possible with stats or variable, if someone can guide me it would be great help.
7 Replies
Hi, Shira,
Yes, it's possible with states and a variable. Here's how I'd accomplish what you describe:
For more info on conditions, states, and variable, see these entries in the User Guide:
Dear Judy,
Thank you so much for your help, I will follow your steps and will let you know. Thank you so so much.
Dear Judy,
I have tried the way you explained but i am not sure where i am making mistake, I have attached my story file please have a look, or if any one can help me.
Hi again, Shira,
In your file, every slide has a trigger that adds 1 to the Face variable when the user clicks the correct radio button. For example, this is from slide 1:
In my edited version of the file (attached), I deleted those radio-button triggers. That fixed the problem with the score.
Also, in the character states, states 01 and 02 get increasingly happy. However, states 03 and 04 look unhappy. That's disturbing, because he looks upset if the user answers the first 3 questions correctly. So you need to either fix the states, or just make state 02 the highest/happiest one.
One more thing: I notice that you subtract 1 from the variable on the Incorrect layers. That makes sense if you want to show increasingly unhappy states if the variable goes down. But if there's no consequence, there's no need to include those triggers.
Dear Judy,
Thank you so much for your help. I really appreciate it, when i run your file its works well only if i am selecting all the right answers, but if i select wrong answer at any stage the next question expression shows stats 1 expression and after that it does not change the expression. var value is working well in the bottom but expression its not changing, i have attached the file please have a look.
Once again thank you much and looking forward your reply.
Dear Judy,
I figured out what was the issue, I am able to solved it with all your help. Thank you so much once again.
Hi, Shira,
I assume the latest issue was related to needing a trigger for each possible state the character could be in. I'm glad you were able to resolve your problem on your own. I don't subscribe to Forum posts, so I don't get notified when someone responds to one of my answers. I usually come back to recent posts, but the timing is based on when I have time to visit the Forum.
Best wishes for successful projects!