We want to help our son who wants to make a trivia game for a class project.
1. How do we add a score feature?
2. Is there a way to change a sprite without losing the code you gave to it?
3. I dont know how to add scratch blocks to this question, so i don't know how to show what I tried, but it had to do with ask ____ and wait. and answer = __________
Any help on basic trivia question creation?
Offline
m-dance wrote:
We want to help our son who wants to make a trivia game for a class project.
1. How do we add a score feature?
2. Is there a way to change a sprite without losing the code you gave to it?
3. I dont know how to add scratch blocks to this question, so i don't know how to show what I tried, but it had to do with ask ____ and wait. and answer = __________
Any help on basic trivia question creation?
I think this would fit better in the Help With Scripts forum as Questions About Scratch is not to do with Scripting. Reporting to be moved...
Offline
m-dance wrote:
We want to help our son who wants to make a trivia game for a class project.
1. How do we add a score feature?
2. Is there a way to change a sprite without losing the code you gave to it?
3. I dont know how to add scratch blocks to this question, so i don't know how to show what I tried, but it had to do with ask ____ and wait. and answer = __________
Any help on basic trivia question creation?
1. Variables (ie "If touching (POINT) change (score) by (1)
2. I don't understand...
3.
ask (whatever) and wait
if (answer) = (your answer)
do whatever
Offline
Here is a script that should help:
when gf clicked [score v] to [0] set ask [question 1 here] and wait if <(answer) = [answer to question 1 here]> change [score v] by (1) else stop all end Repeat this for all the questions but not the green flag and set score to 1
Offline
coinman wrote:
Here is a script that should help:
when gf clicked set [score v] to (0) ask [question 1 here] and wait if <(answer) = [answer to question 1 here]> change [score v] by (1) else stop all end Repeat this for all the questions but not the green flag and set score to 1
Fixed.
Offline